I was interested to know if it is possible to recognize that BufferedImage in java is an empty (invisible to the user in the browser) image.
Do you mean completely transparent?
You can use BufferedImage.getAlphaRaster() and traverse the pixels to make sure they are completely transparent.
BufferedImage.getAlphaRaster()
Source: https://habr.com/ru/post/1315335/More articles:Using Dynamic or Reflection.emit - reflectionDatabase: multiple tables or only one table? - performanceWhat role does indentation play here? and why does one indentation not work? - indentationHow can I get the certificate validity period with C # code? - c #Creating a comment table - sql-serverAlternative when using Excel in reporting - sqlBeginning and end of an ASP.Net session - c #Is there a macro that Xcode automatically installs in debug builds? - macroshow to replace all occurrences of a word in a string with another word in java? - javaRecursive set in OCaml - moduleAll Articles