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

Add convertToRGB option to GeoTIFF source #12712

Merged
merged 1 commit into from Sep 7, 2021

Conversation

ahocevar
Copy link
Member

@ahocevar ahocevar commented Sep 6, 2021

This pull request adds a new option, convertToRGB, to the GeoTIFF source. When set to true, the readRGB function is used instead of readRasters when reading data from geotiff.js.

I'm marking this as draft until geotiffjs/geotiff.js#236 is merged and we can update geotiff.js to a new release.

Depends on geotiffjs/geotiff.js#236
Fixes #12700.

@constantinius
Copy link
Contributor

geotiffjs/geotiff.js#236 is merged and now part of the issued v1.0.5 release

@ahocevar
Copy link
Member Author

ahocevar commented Sep 7, 2021

Thanks, @constantinius! I updated geotiff.js to 1.0.5.

@ahocevar ahocevar marked this pull request as ready for review September 7, 2021 10:27
@tschaub
Copy link
Member

tschaub commented Sep 7, 2021

Thanks, @ahocevar and @constantinius.

@ahocevar ahocevar merged commit 1f3e3ef into openlayers:main Sep 7, 2021
@ahocevar ahocevar deleted the read-rgb branch September 7, 2021 15:23
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.

JPEG-compressed Cloud Optimized GeoTIFF (COG) displays incorrectly
3 participants