16 bits bit depth

2.2k Views Asked by At

I have an image viewed in an applet. How do I save the image as 16 bits bit depth png format? I'm using java.

1

There are 1 best solutions below

2
On

Conversion to 16 bit is not a part of saving the image data. You'll first have to convert the image data itself by copying to to a BufferedImage with a 16 bit ColorModel. Then just save the result as PNG.