Hello everybody,
Is it possible to get the list of error codes of ImageMagick ?
If no, does anybody know when errors 135 and 137 are raised ?
Thank you by advance,
Bertrand.
ImageMagick's error codes
Re: ImageMagick's error codes
ImageMagick has internal error codes of 300-799. The ImageMagick command line programs return either 0 (success) or 1 (failure).
Re: ImageMagick's error codes
Hum, well that is strange.
I have a php call that does :
Here is what I have on my debug log :
Does anybody have an idea of what is going on ?
I have a php call that does :
where $call is an ImageMagick's command line.exec($call, $finfo, $retcode);
Here is what I have on my debug log :
where "returned" is $finfo[0]'s value and "code" is $retcode's value.exec(/usr/local/bin/convert -set registry:temporary-path /tmp -limit memory 32mb -limit map 64mb [...etc] 2>&1), returned '', code = 137
Does anybody have an idea of what is going on ?
Re: ImageMagick's error codes
Some news.
I searched for occurencies of those codes and I find them in two different file.
Magick.c
I searched for occurencies of those codes and I find them in two different file.
Magick.c
Magick.xsXSANY.any_i32 = 135 ;
sv_setpv((SV*)cv, "$;@") ;
cv = newXS("Image::Magick::StereoImage", XS_Image__Magick_Mogrify, file);
...
XSANY.any_i32 = 137 ;
sv_setpv((SV*)cv, "$;@") ;
cv = newXS("Image::Magick::Normalize", XS_Image__Magick_Mogrify, file);
Does anybody have some clue ?Profile = 135
...
UnsharpMask = 137
Re: ImageMagick's error codes
Those values are enumerations for choosing which PerlMagick method to use. It has nothing to do with exception codes.