aspose file tools*
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 Spring in Action this week in the Spring 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to detect the alpha channel in an image ?