What kind of tools does convert -quality use in command line?

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
turkdue
Posts: 2
Joined: 2018-03-27T18:20:41-07:00
Authentication code: 1152

What kind of tools does convert -quality use in command line?

Post by turkdue »

Hello,

I am doing a project where I use convert -quality <value> in order to decrease the quality of a jpg image. I was wondering if the IJG quality standards and the related libjpeg quantization tables are used for this? I have been looking at the GitHub Repo to see if there was any reference, however, I am having trouble finding it. I need to find a source that suggests it. If anyone knows where I can find it, it will be very helpful.

Thanks.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: What kind of tools does convert -quality use in command line?

Post by snibgo »

Have you looked in coders\jpeg.c?
snibgo's IM pages: im.snibgo.com
turkdue
Posts: 2
Joined: 2018-03-27T18:20:41-07:00
Authentication code: 1152

Re: What kind of tools does convert -quality use in command line?

Post by turkdue »

Is that applicable for the command line convert -quality value option?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: What kind of tools does convert -quality use in command line?

Post by snibgo »

Yes.
snibgo's IM pages: im.snibgo.com
Post Reply