Skip to content

JPEGOptimizer v1.0

Latest
Compare
Choose a tag to compare
@collicalex collicalex released this 04 Dec 12:05
· 10 commits to master since this release

Features

  • choose which directory to optimize (source / src)
  • choose where to save optimized files (destination / dst); it can be the same directory as src (this will overwrite your files)
  • ask to skip file according to their size (minimum file size)
  • select the maximum visual diff (percent) acceptable (I personnaly used 0.75%)
  • then run the optimization on an entire directory

You can aslo use the "viewer" to check yourself the visual difference between 2 files according to selected jpeg quality compression parameter.

Run

Pre Requirement

JPEGOptimizer is written in JAVA. So it's natively executable on all Operating System (Windows, OsX, Unix/Linux,...). You just need to have a JRE (Java Runtime Environement) installed on your system. Download it here.

Execute

To run JPEGOptimizer you just need to double click on JPEGOptimizer.jar.

As JPEGOptimizer manipulate large pictures files size, it will used a lot of memory (RAM).
The default Oracle JVM (Java Virtual Machine) maximum heap size is 1024MB. Which is enough. If not, you can run it via command line:

With 1024MB:

java -Xmx1024m -jar JPEGOptimizer.jar

With 2048MB:

java -Xmx2048m -jar JPEGOptimizer.jar

You can double click on JPEGOptimizer.bat to run the application with 1024MB. Feel free to edit this file to increase the max heap size parameter.

Enjoy!