
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 1.09 KB | hits: 43 | expires: Never
1. Get jpegtran.exe from http://jpegclub.org/jpegtran/ (beside Windows binary compilation, just above the header for section 2).
2. Put it in your path (e.g. C:\Windows\system32).
3. Open notepad, copy the following lines into it, and save it as squish.bat on your desktop or somewhere.
cd %1
for /r %%i in (*.jpg) do jpegtran.exe -progressive -greyscale -copy none "%%i" "%%i"
for /r %%i in (*.jpeg) do jpegtran.exe -progressive -copy none "%%i" "%%i"
4. Give color images the .jpeg extension (since the script above turns .jpg JPGs into greyscale JPGs and leaves .jpeg JPGs alone).
4a. If you like, you can just delete the -greyscale above and not bother with renaming your color images, but you'll lose a little bit of savings (~1.5 MB in Eve to Love book).
5. Drop the folder with all the images onto the batch file.
I unzipped your Eve to Love release to its own folder, dropped it onto the batch file, and rezipped it using zip/store (no compression). It went from 203 MB to 184 MB, which may not sound like much of a reduction, but that's 10% more downloads before your allotment is used up.