Code: Select all
diff -Naur ImageMagick-6.8.6-7/coders/psd.c ImageMagick-6.8.6-7-dev/coders/psd.c
--- ImageMagick-6.8.6-7/coders/psd.c 2013-08-08 15:50:15.748444761 +0200
+++ ImageMagick-6.8.6-7-dev/coders/psd.c 2013-08-08 15:41:46.928327201 +0200
@@ -927,6 +927,14 @@
blocks=(unsigned char *) RelinquishMagickMemory(blocks);
}
/*
+ If we are only "pinging" the image, then we're done - so return.
+ */
+ if (image_info->ping != MagickFalse)
+ {
+ (void) CloseBlob(image);
+ return(GetFirstImageInList(image));
+ }
+ /*
Layer and mask block.
*/
layer_info=(LayerInfo *) NULL;
Thanks für looking into it,
Horst.