Hi
I'm running a script that used to work on my Win32 PC, but doesn't on my Win64.
I've installed ImageMagick-6.6.5-Q16 (64bit), and it works fine from the command line.
In the Perl script that works on the Win32 machine, most functions work in Win64 but I can't get Compare to work, I just get a "Bad File Descriptor" error.
$status = $tempimage->Compare(image=>$tempimage2, metric=>'rmse');
die "Error: $status, $!" if $status;
I can call other methods on $tempimage and $tempimage2 quite happily (e.g. Scale) and I can write to disk and they save fine.
Any ideas?
Compare function
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Compare function
Sounds like a problem earilier in yoru script where you read the image.
NOTE comparing requires you to have two images that are the exact same size.
NOTE comparing requires you to have two images that are the exact same size.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/