This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to detect the alpha channel in an image ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to detect the alpha channel in an image ?" Watch "how to detect the alpha channel in an image ?" New topic
Author

how to detect the alpha channel in an image ?

u sankarlal
Greenhorn

Joined: Aug 15, 2001
Posts: 11
hi all,
I'm having a problem to find whether the png image is supporting alpha channel. Though, alpha channel is supported by all png files, there may be a chance to create a png image without having Alpha channels thro' photoshop, by saving as - > and selecting exclude alphachannels option.
In this scenario, I've to find whether the png is supporting alpha channel or not ? Also, If supported, i've to detect how many number of rgb pixels in that image and also how many numbers of alpha pixels in it ?
thanks in advance
Anu-Maheswari
 
jQuery in Action, 2nd edition
 
subject: how to detect the alpha channel in an image ?
 
Similar Threads
Part II upload file size
painting an image
Pixel Transparency
friends, help me out by giving solution
Can we resize the image in j2me