8000 add to_raster method by vincentsarago · Pull Request #810 · cogeotiff/rio-tiler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add to_raster method #810

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

Merged
merged 2 commits into from
Jun 3, 2025
Merged

add to_raster method #810

merged 2 commits into from
Jun 3, 2025

Conversation

vincentsarago
Copy link
Member
@vincentsarago vincentsarago commented Jun 3, 2025

This PR adds a method to save an ImageData object to a raster file.

The major difference with render is that we won't apply colormap so user would either need to apply a colormap to the imageData object ImageData().apply_colormap() before saving to a file

cc @emmanuelmathot

@vincentsarago vincentsarago force-pushed the feature/imagedata-to-raster branch from faf7f81 to 9229a3e Compare June 3, 2025 16:13
@vincentsarago vincentsarago merged commit 1197959 into main Jun 3, 2025
8 checks passed
@vincentsarago vincentsarago deleted the feature/imagedata-to-raster branch June 3, 2025 16:25
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
2A46
0