May 23

The BufferedImage’s ColorModel has a method that returns whether it supports alpha.


boolean hasAlpha = bufferedImage.getColorModel().hasAlpha();

written by objects \\ tags: ,


Leave a Reply

You must be logged in to post a comment.