How to use java to recognize blank / invisible images
•
Java
I wonder if it is possible to realize that the buffered image in Java is a blank (invisible to the user in the browser) image
Solution
You mean completely transparent?
You can use bufferedimage Getalpharaster () and iterate over the pixels to check that they are completely transparent
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码