I'm getting an error when writing a jp2 file >4000MP large:
java.lang.IllegalArgumentException: Overall target bitrate too low, given the current bit stream header overhead
at com.amazon.j2k.entropy.encoder.EBCOTRateAllocator.initialize(EBCOTRateAllocator.java:614)
at com.amazon.j2k.imageio.J2KImageWriter.write(J2KImageWriter.java:364)
I've set lossless to true for the J2KImageWriteParam.
I'm getting an error when writing a jp2 file >4000MP large:
java.lang.IllegalArgumentException: Overall target bitrate too low, given the current bit stream header overhead at com.amazon.j2k.entropy.encoder.EBCOTRateAllocator.initialize(EBCOTRateAllocator.java:614) at com.amazon.j2k.imageio.J2KImageWriter.write(J2KImageWriter.java:364)
I've set lossless to true for the J2KImageWriteParam.