Skip to content

Instantly share code, notes, and snippets.

View natemate90's full-sized avatar
🏍️
Coding with high octane fuel

Nathan Alder natemate90

🏍️
Coding with high octane fuel
  • Alder Digital
  • Amsterdam
View GitHub Profile
@nepsilon
nepsilon / how-to-batch-convert-jpg-images-to-progressive-jpg-images.md
Last active April 3, 2024 16:55
How to batch convert JPG images to progressive JPG images? — First published in fullweb.io issue #82

How to batch convert JPG images to progressive JPG images?

Progressive JPG images, as opposed to baseline JPG, will display right away in the browser, and will load bits of it in cycle, rendering it from blur to clear.

Progressive is known to provide a better user experience, preventing the ”fax loading” effect. Where the image is displayed in full, but sequentially from top to bottom.

The imagemagick package will install the convert command that you can run to convert JPG to progressive:

convert -strip -interlace Plane -quality 80 input-file.jpg output-file.jpg