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
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to detect the alpha channel in an image ?
 
Similar Threads
Pixel Transparency
painting an image
friends, help me out by giving solution
Part II upload file size
Can we resize the image in j2me