Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with EBCOTRateAllocator #29

Open
franklin-yang opened this issue Jun 27, 2019 · 0 comments
Open

Issue with EBCOTRateAllocator #29

franklin-yang opened this issue Jun 27, 2019 · 0 comments

Comments

@franklin-yang
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant