]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 18 Mar 2013 00:20:48 +0000 (00:20 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 18 Mar 2013 00:20:48 +0000 (00:20 +0000)
coders/txt.c

index 4befbe0ab7ab9905d7b0b6994c987ce99ce5af3c..d5a04bd89c01518b7c11cab84573a609813fc551 100644 (file)
@@ -724,8 +724,7 @@ static MagickBooleanType WriteTXTImage(const ImageInfo *image_info,Image *image,
             */
             if (GetPixelAlpha(image,p) == (Quantum) OpaqueAlpha)
               {
-                (void) QueryColorname(image,&pixel,SVGCompliance,tuple,
-                  exception);
+                GetColorTuple(&pixel,MagickFalse,tuple);
                 (void) FormatLocaleString(buffer,MaxTextExtent,"%.20g,%.20g,",
                   (double) x,(double) y);
                 (void) WriteBlobString(image,buffer);