Page 1 of 1

MagickGetImageCompressionQuality returns 0

Posted: 2013-05-15T10:58:32-07:00
by yvonne
I notice that MagickGetImageCompressionQuality returns 0 after formatting a png file to jpg. Is this expected? Thanks.

Re: MagickGetImageCompressionQuality returns 0

Posted: 2013-05-15T11:28:00-07:00
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.