MagickGetImageCompressionQuality returns 0

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
yvonne
Posts: 11
Joined: 2013-04-04T15:05:34-07:00
Authentication code: 6789
Contact:

MagickGetImageCompressionQuality returns 0

Post by yvonne »

I notice that MagickGetImageCompressionQuality returns 0 after formatting a png file to jpg. Is this expected? Thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickGetImageCompressionQuality returns 0

Post by magick »

A compression quality of 0 means undefined compression quality. If you read a JPEG image, the compression quality is set to whatever is returned by the JPEG image. PNG images do not have an associated compression quality.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot], Semrush [Bot] and 41 guests