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

Slow to compress certain crafted pgm image to jp2 #1137

Open
hongxuchen opened this issue Aug 29, 2018 · 1 comment
Open

Slow to compress certain crafted pgm image to jp2 #1137

hongxuchen opened this issue Aug 29, 2018 · 1 comment

Comments

@hongxuchen
Copy link

When opj_compress convert certain pgm image to jp2, it may unexpectedly spend too much time. The corresponding code should lie at
https://github.com/uclouvain/openjpeg/blob/master/src/bin/jp2/convert.c#L1896-L1906

tested input file (please unzip firstly):
test.pgm.zip

2018-08-29-155406_569x181_scrot

@szukw000
Copy link
Contributor

@rouault ,
I have added #1141 to fix this.
winfried

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

2 participants