poor JPEG2000 image quality with setEncodingRate
JPEG2000 image quality is good only with setEncodingRate(Double.MAX_VALUE) or lossless.
When setEncodingRate(Double.MAX_VALUE*number), where number is from 0.01 to 0.99,
the image quality is very poor and there is no difference between different encoding rate.
Is there any more parameters need to set?