[JAI] Save jpeg with specific resolution
I have to load a jpeg image, make some changes to it using JAI and then save
it to a file with the same resolution it has at the beginning.
If I save it with filestore descriptor the resolution is always 72 dpi. I
solved this problem using
com.sun.image.codec.jpeg package, but I have to encode a BufferedImage
instead of a PlanarImage. This makes my application slower when
the image has many pixels.
Does anybody know how to save a jpeg image with a specific resolution using
Thanks in advance,