Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: perlmagick : Image processing

by nmcfarl (Pilgrim)
on Apr 06, 2004 at 15:45 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found