Cory Petkovsek wrote:

> It's running on 16500 images, opening one in gimp (in the
> background), checking the size, then moving on to the next.  I was
> unable to find a function in perl to delete a referenced variable
> (delete $img), or a function in PDB (perl-gimp database
> Gimp->gimp_close($img)) to close an image, or deallocate the memory.

Is the size of the image all you want?  Don't bother with the Gimp;
use the Image::Size module instead.

Image::Size is available from CPAN or in the libimage-size-perl package.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]

Reply via email to