Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有可能识别出java 中的BufferedImage是空白(浏览器中的用户不可见)图像。
你的意思是完全透明?
您可以使用BufferedImage.getAlphaRaster()并遍历像素来检查它们是否完全透明。
BufferedImage.getAlphaRaster()