Compare function
Posted: 2010-11-12T07:38:09-07:00
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?
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?