Skip to content

Instantly share code, notes, and snippets.

@samyakb
Created January 19, 2021 06:52
Show Gist options
  • Select an option

  • Save samyakb/ebccb99421c4a105af8a1c69b51ace11 to your computer and use it in GitHub Desktop.

Select an option

Save samyakb/ebccb99421c4a105af8a1c69b51ace11 to your computer and use it in GitHub Desktop.
Check if an image is progressive or not
for file in ./*.jpg;
do
echo "$file";
identify -verbose "$file" | grep Interlace;
done
@samyakb

samyakb commented Jan 19, 2021

Copy link
Copy Markdown
Author

If output is JPEG then image is progressive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment