简体   繁体   中英

How to recognize a blank/invisible image using java

我想知道是否有可能认识到java中的BufferedImage是一个空白(对于浏览器中的用户来说是不可见的)图像。

You mean entirely transparent?

You could use the BufferedImage.getAlphaRaster() and traverse the pixels to check that they are all completely transparent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM