Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: perlmagick : Image processing

by nmcfarl (Pilgrim)
on Apr 06, 2004 at 15:45 UTC ( #342977=note: print w/replies, xml ) Need Help??


in reply to perlmagick : Image processing

The # bits per pixel, or image depth can be gotten by:
my ($depth)=$image->Get('depth');

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"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://342977]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2023-01-30 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?