I have a pretty simple application that i've inherited maintenance of. The app keeps a directory of images that can be searched based on a number of stored data points. I've been ask to add a boolean flag if an image has transparency. All the images are png, jpeg, and maybe some gifs. I tried using matte() like this:
Code: Select all
my $image = Image::Magick->new;
$image->read($directory.$file_name);
return $image->matte();
Code: Select all
Can't locate auto/Image/Magick/matte.al in @INC
Any ideas?
Thanks,