in reply to Re: Pixel setting oddity - Image:Magick
in thread Pixel setting oddity - Image:Magick
Aren't you getting any warnings for that? I'm surprised Image::Magick doesn't complain about the invalid input.
The posted code has a bare string eval without any error checks ($@), so most errors will be silent. Also, Image::Magick requires a lot of manual error checks because it does not use perl's exception mechanism (i.e. die), but instead requires checking return values (as in C). This is documented in http://www.imagemagick.org/script/perl-magick.php#exceptions. The posted code lacks those checks, too.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Pixel setting oddity - Image:Magick
by Eily (Monsignor) on May 11, 2015 at 12:42 UTC | |
by merrymonk (Hermit) on May 12, 2015 at 06:58 UTC | |
by afoken (Chancellor) on May 12, 2015 at 08:28 UTC |