Finding out JPG compression level, without using save-as

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
lwhistler
Posts: 23
Joined: 2010-09-15T15:33:29-07:00
Authentication code: 8675308

Finding out JPG compression level, without using save-as

Post by lwhistler »

I would like to know of a Linux program that will let me know the JPG compression level, either through the command line or GUI. I prefer the command line using ImageMagick.

With GIMP it appears that you have to Save-As to find out what the JPG compression level was, I prefer to check image properties but that doesn't give you the JPG compression level in GIMP.

thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Finding out JPG compression level, without using save-as

Post by fmw42 »

try

identify -verbose yourimage

...

Compression: JPEG
Quality: 80


The quality is the compression level
lwhistler
Posts: 23
Joined: 2010-09-15T15:33:29-07:00
Authentication code: 8675308

Re: Finding out JPG compression level, without using save-as

Post by lwhistler »

Thanks fmw42. That's exactly what I was looking for.
Post Reply