I have an issue with alpha pixels showing up in item textures for Minecraft, so I am writing a program in Java to automatically remove all the alpha pixels in the image png file.
In windows file explorer the image looks like this
But once rendered into the game it has a left over white background of pixels
How can I auto filter out all these pixels using Java code?