in reply to
perlmagick : Image processing
The # bits per pixel, or image depth can be gotten by:
my ($depth)=$image->Get('depth');
[download]
Comment on
Re: perlmagick : Image processing
Download
Code
Replies are listed 'Best First'.
Re: Re: perlmagick : Image processing
by
nmcfarl
(Pilgrim)
on Apr 06, 2004 at 17:13 UTC
Oops, forgot to mention that this report color depth per RGB component, per pixel. So a depth of 8, times the 3 RGB components is a "24 bit image"
[reply]
In Section
Seekers of Perl Wisdom