Ah ha! Now the mallocs are free. Gimp->gimp_image_delete($image); No bob, it's not only the image size I want. I have a bunch of images improperly sized, and I need to know which one. Next phase is to fix them. Then I'll be renaming a bunch of them (not using gimp, just perl), and I'll be resizing a whole lot of them. I'm working on about 48,000+ images! Yikes! Thanks for the help. By the way, Bob Crandell, did you get my email earlier today? I didn't get a response. Talked with Continet yet? Cory On Tue, May 15, 2001 at 03:09:52PM -0700, Bob Miller wrote: > 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]
