diff --git a/MagickCore/methods.h b/MagickCore/methods.h
index 465d78e..1947b1a 100644
--- a/MagickCore/methods.h
+++ b/MagickCore/methods.h
@@ -15,9 +15,9 @@
MagickCore API methods prefix.
- nm .libs/libMagickCore.a | grep ' T ' | \
- awk '{ printf("#define %s PrependMagickMethod(%s)\n", $3, $3); }' | \
- sort
+ nm -p magick/.libs/libMagickCore.a | grep ' T ' | egrep -vi '(Magick)|(lt_)' | \
+ egrep -v '(MagickError)|(MagickFatalError)|(MagickWarning)|(ThrowException)' | \
+ awk '{ printf("#define %s PrependMagickMethod(%s)\n", $3, $3); }' | sort
*/
#ifndef _MAGICKCORE_METHOD_H
#define _MAGICKCORE_METHOD_H
diff --git a/coders/ps.c b/coders/ps.c
index 5348f2b..58f54a9 100644
--- a/coders/ps.c
+++ b/coders/ps.c
@@ -772,7 +772,8 @@
if (read_info->scenes != (char *) NULL)
*read_info->scenes='\0';
}
- if (IfMagickTrue(IsStringTrue(GetImageOption(image_info,"ps:use-cropbox"))))
+ if ((*image_info->magick == 'E') && ((option == (const char *) NULL) ||
+ (IsMagickTrue(option) != MagickFalse)))
(void) ConcatenateMagickString(options,"-dEPSCrop ",MaxTextExtent);
(void) CopyMagickString(filename,read_info->filename,MaxTextExtent);
(void) AcquireUniqueFilename(filename);