From: glennrp Date: Wed, 13 May 2015 02:12:57 +0000 (+0000) Subject: Added "if possible" to the description string for PNG00. X-Git-Tag: 7.0.1-0~1036 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1e07709d63f88437cf56ddbc6b3889a96711346;p=imagemagick Added "if possible" to the description string for PNG00. --- diff --git a/coders/png.c b/coders/png.c index 34ee91861..3ebd9b26e 100644 --- a/coders/png.c +++ b/coders/png.c @@ -7491,7 +7491,7 @@ ModuleExport size_t RegisterPNGImage(void) (void) RegisterMagickInfo(entry); entry=AcquireMagickInfo("PNG","PNG00", - "PNG inheriting bit-depth and color-type from original"); + "PNG inheriting bit-depth and color-type from original, if possible"); #if defined(MAGICKCORE_PNG_DELEGATE) entry->decoder=(DecodeImageHandler *) ReadPNGImage; @@ -11373,8 +11373,9 @@ static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info, % % o PNG00: A PNG that inherits its colortype and bit-depth from the input % image, if the input was a PNG, is written. If these values -% cannot be found, then "PNG00" falls back to the regular "PNG" -% format. +% cannot be found, or if the pixels have been changed in a way +% that makes this impossible, then "PNG00" falls back to the +% regular "PNG" format. % % o -define: For more precise control of the PNG output, you can use the % Image options "png:bit-depth" and "png:color-type". These