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

Tiled encoding broken for images with non power of 2 dimensions #702

Closed
boxerab opened this issue Jan 18, 2016 · 3 comments
Closed

Tiled encoding broken for images with non power of 2 dimensions #702

boxerab opened this issue Jan 18, 2016 · 3 comments

Comments

@boxerab
Copy link
Contributor

boxerab commented Jan 18, 2016

Running master:

I tried encoding a 1920x1080 RGB TIF, with command line parameters:

-t 128,128

and the resulting image has severe image artifacts. It looks like all pixels with x value greater than 128 are just clamped to the value at 128.

@boxerab
Copy link
Contributor Author

boxerab commented Jan 18, 2016

This is a 16 bit image, by the way.

I checked older commits, up to 2 years ago, and this bug is also there. So, this has been broken for quite some time.

@boxerab
Copy link
Contributor Author

boxerab commented Jan 18, 2016

Tiled encoding works fine on images with power of 2 dimensions.

@boxerab boxerab changed the title Tiled Encoding Broken Tiled encoding broken for images with non power of 2 dimensions Jan 18, 2016
@boxerab
Copy link
Contributor Author

boxerab commented Jan 19, 2016

Well, this turns out to be a problem with kdu_show. OpenJPEG works just fine.

@boxerab boxerab closed this as completed Jan 19, 2016
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