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

Handle tiff files with RGB colorspace JPEG compression. #503

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

manthey
Copy link
Member

@manthey manthey commented Dec 18, 2020

When a TIFF is marked as having a photometric space of RGB and uses JPEG compression, the JPEG data does not have to encode its colorspace; since, once a tile is extracted, we don't decode the tile unless necessary, ensure that it is marked with the appropriate colorspace.

When a TIFF is marked as having a photometric space of RGB and uses JPEG
compression, the JPEG data does not have to encode its colorspace;
since, once a tile is extracted, we don't decode the tile unless
necessary, ensure that it is marked with the appropriate colorspace.
@manthey manthey merged commit b91d610 into master Dec 18, 2020
@manthey manthey deleted the tiff-rgb-jpeg branch December 18, 2020 19:53
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

Successfully merging this pull request may close these issues.

1 participant