Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 1.09 KB  |  hits: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 1. Get jpegtran.exe from http://jpegclub.org/jpegtran/ (beside Windows binary compilation, just above the header for section 2).
  2. 2. Put it in your path (e.g. C:\Windows\system32).
  3. 3. Open notepad, copy the following lines into it, and save it as squish.bat on your desktop or somewhere.
  4.  
  5. cd %1
  6. for /r %%i in (*.jpg) do jpegtran.exe -progressive -greyscale -copy none "%%i" "%%i"
  7. for /r %%i in (*.jpeg) do jpegtran.exe -progressive -copy none "%%i" "%%i"
  8.  
  9. 4. Give color images the .jpeg extension (since the script above turns .jpg JPGs into greyscale JPGs and leaves .jpeg JPGs alone).
  10. 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).
  11. 5. Drop the folder with all the images onto the batch file.
  12.  
  13. 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.