Skip to content

Tag: bufferedimage

JavaFX trouble importing [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago. Improve this question I am new to java and I would like to convert a buffered image to a regular image object and

How to create 8-bit PNG from BufferedImage?

I have a Java program that creates composite png images that contain only black pixels and 100% transparent pixels. I am trying to reduce the size of these composites as much as possible and I notice that ImageIO.write always outputs 32 bit PNG’s. I would like to instead save them as 8-bit considering that the images will only have two