]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 2 Mar 2012 13:01:39 +0000 (13:01 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 2 Mar 2012 13:01:39 +0000 (13:01 +0000)
coders/ps.c
coders/ps2.c

index 7e0f454dbdb5d162070a081bc02d843aebe712da..01f0203cea23ac0a165cc4cae62c2f83f3aa772a 100644 (file)
@@ -1347,6 +1347,7 @@ static MagickBooleanType WritePSImage(const ImageInfo *image_info,Image *image,
       "  currentfile buffer readline pop",
       "  token pop /compression exch def pop",
       "  class 0 gt { PseudoClassImage } { DirectClassImage } ifelse",
+      "  grestore",
       (char *) NULL
     };
 
index 53d6fad0a9ddf79a0f444d51b34d8f4e310d624a..862aae2fa77ed0049b45f245006741859a4122b5 100644 (file)
@@ -375,6 +375,7 @@ static MagickBooleanType WritePS2Image(const ImageInfo *image_info,Image *image,
       "  currentfile buffer readline pop",
       "  token pop /compression exch def pop",
       "  class 0 gt { PseudoClassImage } { DirectClassImage } ifelse",
+      "  grestore",
       (char *) NULL
     };