I have an image viewed in an applet. How do开发者_如何学JAVA I save the image as 16 bits bit depth png format? I'm using java.
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.
精彩评论