Does read still load image data if there is an error?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Locked
User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The way to determine what exceptions are occurring is to write the exception out. Something like this:
  • $x = $image->Read(...);
    warn "$x" if "$x";
The exception will explain exactly what ImageMagick does not like about the image.

Locked