mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
The quality of the image_info should be used instead.
This commit is contained in:
+1
-1
@@ -2483,7 +2483,7 @@ static MagickBooleanType WriteJPEGImage_(const ImageInfo *image_info,
|
||||
if (IsStringTrue(option) != MagickFalse)
|
||||
{
|
||||
#if defined(C_LOSSLESS_SUPPORTED)
|
||||
if (image->quality == 100)
|
||||
if (image_info->quality == 100)
|
||||
{
|
||||
#if defined(LIBJPEG_TURBO_VERSION_NUMBER) && LIBJPEG_TURBO_VERSION_NUMBER >= 3000090
|
||||
jpeg_info->data_precision=(int) image->depth;
|
||||
|
||||
Reference in New Issue
Block a user