Quote:
Originally Posted by Toxaris
As it is now, I am detecting if it is running on Windows or other. If it is running on other, it will not give a pathname, but just execute the command. For jpegtran the command would be like:
jpegtran -optimize -progressive -copy none -outfile <filename> <filename>
Could you check if that is working on OSX?
|
You can actually optimize the images even better as long as you first figure out if they are grayscale or RGB and apply the appropriate profile.
For RGB
jpegtran.exe" -optimize -progressive -copy none -scans jpeg_scan_rgb.txt <filename> <filename>
For grayscale
jpegtran.exe" -optimize -progressive -copy none -scans jpeg_scan_bw.txt <filename> <filename>
For PNG, there is an open source optimizer called OptiPNG that you could use.
http://optipng.sourceforge.net/
There is also another free PNG optimizer called PNG Optimizer.
http://sourceforge.net/projects/pngoptimizer/