[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imagemagick-developer
Subject:    [magick-developers] "NoDecodeDelegateForThisImageFormat" error with
From:       cameronmcd <cameronmcd () comcast ! net>
Date:       2009-12-10 5:39:51
Message-ID: ED3B1FD1-281D-49EB-B953-B3B30A3BA185 () comcast ! net
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic