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.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
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.
Post Reply