PerlMagick: Exception 410: no images defined `Scale'

From: James Thornton (james_at_unifiedmind.com)
Date: 07/15/04


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');
}



Relevant Pages

  • Re: Creating server based image catalogs with Filemaker?
    ... I send incoming pics through a batchrename (also a filemaker ... I did not send you a script, but some calculation examples. ... Currently it holds over 15,000 images, and more are added ...
    (comp.databases.filemaker)
  • Re: making a script
    ... batch command: executed successfully. ... I have used gimp's batch processing only slightly, ... You are using the batch mode to execute a scheme script ...
    (comp.graphics.apps.gimp)
  • Re: yet another question on file names with spaces?
    ... > I agree, the echo is redudant. ... > know what they are before the script runs - see below. ... > finding whether they are also on the remote machine. ... > images and pdfs which I only want to transfer once. ...
    (comp.unix.shell)
  • Re: UNIX tr utility written in vbscript
    ... Does anyone have a trick of combining a batch ... > A batch file can run a VBScript program, and you can pass the name of> the ... > Example.vbs with the following command: ... write a batch script that creates the vbscript file to be called. ...
    (microsoft.public.scripting.vbscript)
  • Re: change images
    ... Some UA's can't update the display style with script, in which case, ... Style in FF) and you will see that all of the images are there from ... display styles to "none" and then show the container. ... var oldMenuItem; ...
    (comp.lang.javascript)