PDA

View Full Version : Compress JPG images losslessly into JPEG Progressive?



Fli
11-04-2014, 09:36 AM
Hello,

can we anyhow compress .JPG image to .JPG Progressive losslessly from Linux command line?

Thank you

// Update: i found
JpegOptim (yum install jpegoptim, apt-get install jpegoptim)
Trimage (http://internetlifeforum.com/linux-forums/2571-how-install-trimage-linux/) (apt-get install trimage)

example command to losslessly optmize jpg image and convert to profressive jpg:
jpegoptim image.jpg --all-progressive

compress jpg image to reduce its size (quality 85% - very good)
jpegoptim -m85 image.jpg --all-progressive

(always good to backup before working with files)


// PNG, GIF optimization tools here: http://internetlifeforum.com/webdesign-graphics/2509-lossless-web-image-compression/