Skip to main content

Convert to progressive image from baseline image in the folder

The main feature of ImageMagick is that, it will convert the baseline image to the progressive image.

Save the following script in .sh file and run it. It will convert all jpg images in the directory to progressive image.


#!/bin/bash
for img in *.jpg; do
  convert -strip -interlace Plane -quality 80 $img $img
  echo "Converted :$img"
done


Explanation for progressive image:
  1. progressive JPEG is the JPEG equivalent of the interlaced GIF Graphics Interchange Format . It's an image created using the JPEG suite of compression algorithms that will "fade in" in successive waves of lines until the entire image has completely arrived.

Popular posts from this blog

#ThankYouCitrisys

MAY 5, 2015 an unforgettable day in my life. Why this award is so special to me? Because, after 8 years (After completion of Engineering), I landed on a good place where they identified me and involved me in the good projects with suitable PMOs. With all their support in Citrisys, I did small things with my involvement. For that, Citrisys, awarded me this "Award of Excellence". This award not shows me the best performance, but, it shows me to work more and more. Thank you Mr.ARA (CEO, Citrisys Solutions) for this award. #ThankYouCitrisys

Game on www.tracknext.com

The India based social media www.tracknext.com come up with new feature "Game Hub" where the user can play games. Right now the following games are available: Magic Well Space War Arrow Bow Chain For Web