[英]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. 您可以使用
BufferedImage.getAlphaRaster()
并遍历像素以检查它们是否完全透明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.