From: cristy Date: Thu, 1 Dec 2011 19:36:52 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6593 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6495f9cd84d03e12324f58dd1b90a6b9d768d94;p=imagemagick --- diff --git a/coders/jpeg.c b/coders/jpeg.c index 67c7e5b49..1af58049e 100644 --- a/coders/jpeg.c +++ b/coders/jpeg.c @@ -1991,7 +1991,7 @@ static MagickBooleanType WriteJPEGImage(const ImageInfo *image_info, Search for compression quality that does not exceed image extent. */ jpeg_info->quality=0; - extent=(MagickSizeType) StringToDoubleInterval(option,100.0); + extent=(MagickSizeType) SiPrefixToDoubleInterval(option,100.0); (void) DeleteImageOption(jpeg_info,"jpeg:extent"); (void) AcquireUniqueFilename(jpeg_image->filename); maximum=101;