Skip to content

Quite simple Drag & Drop image optimizer front end for Windows

License

Notifications You must be signed in to change notification settings

mixsoda/opt_image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opt_image

Quite simple image optimizer frot end for windows.

This software is a batch file that works as a front end for the JPEG optimization tool Mozjpeg, the PNG optimization tool Zopfli, and the PNG color reduction tool Pngquant. The aim of this software is to optimize the images used for web pages.

Demo

In this example, three image files (approximately 1 MB in total) are processed to reduce the file size to 185 KB (1/5 or less of the original file).

sample_images

Install

Preparation

First of all, download mozjpeg, pngquant, zopflipng binary files from the following site.

Assuming that images are uploaded to blogs, the EXIF information of JPEG file is deleted. Image magick is also required to correct image orientation by removing EXIF information.

Setup

Next, create a new directory and copy the downloaded binary file and opt_img.

C:\IMG_BIN
| cjpeg-static.exe
| optipng.exe
| opt_image.bat
| pngquant.exe

Add the created directory path to the environment variable PATH.

Finally, create shortcut of opt_image.bat at desktop.

Benchmark

In preparation

License

These codes are licensed under CC0. CC0