PerlMagick: Exception 410: no images defined `Scale'
From: James Thornton (james_at_unifiedmind.com)
Date: 07/15/04
- Next message: Brad Baxter: "Re: Pattern Search and Extraction of Floating Point number to csv file"
- Previous message: John Miller: "lwp post question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jul 2004 09:18:11 -0700
I installed PerlMagick 6.02 from source on Redhat Enterprise 3, and
when using a script to scale a batch of images, which may or may not
be corrupted, the script aborts with the following error:
Exception 410: no images defined `Scale'
Am I not catching it properly, or is this a bug?
Here's a code snippet...
eval {
$x = $imageHandle->Read($filepath);
if ($x) {
print "Error?: $x\n";
$image_id = 0;
return $image_id;
}
#open(IMAGE,$filepath) or next;
#$imageHandle->Read(file=>\*IMAGE);
#close(IMAGE);
$imageHandle->Scale('100X100');
($height,$width) = $imageHandle->Get('height','width');
}
- Next message: Brad Baxter: "Re: Pattern Search and Extraction of Floating Point number to csv file"
- Previous message: John Miller: "lwp post question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|