To package my script, I'm doing: set %im%="C:\Program Files\ImageMagick-6.5.8-Q16"
Followed by: pp -v -o pjchecker.exe -l %im%\CORE_RL_magick_.dll -l %im%\X11.dll -l %im%\CORE_RL_zlib_.dll -l %im%\CORE_RL_bzlib_.dll -l %im% \CORE_RL_lcms_.dll -l %im%\CORE_RL_ttf_.dll -l %im%\modules\coders \IM_MOD_RL_gif_.dll -l %im%\modules\coders\IM_MOD_RL_png_.dll -l %im% \ImageMagickObject.dll -l %im%\msvcr90.dll -l %im%\msvcp90.dll -l %im% \mfc90.dll -l %im%\vcomp90.dll -l %im%\atl90.dll -l %im%\modules\coders \IM_MOD_RL_magick_.dll pjchecker.pl If I don't include the CORE_DL files, the exe won't run at all. If I include them, it runs, but gets this error when it tries to load an image: X:\>pjchecker.exe Screenshot.png Opening image... Exception 420: NoDecodeDelegateForThisImageFormat `Screenshot.png' @ constitute.c/ReadImage/530 Press <Enter> or <Return> to exit Here's the relevant code snippet: print "Opening image... "; my $image = Image::Magick->new; my $result = $image -> Read($filename); if ($result) { quitit( $result ); } print "Done.\n"; The quitit() function just prints the passed string and displays the "press enter to exit" prompt _______________________________________________ Magick-developers mailing list Magick-developers@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-developers