This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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 ?
 
It's not a secret anymore!