Repository navigation
feat(RasterImage): contiguous access to all the colors - #1375
Conversation
colors() and modifiable_colors() expose the color storage as spans so readers and writers can process whole images without a function call per cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cpp-Linter Report
|
…nto fix/image-io-robustness
|
🎉 This PR is included in version 19.2.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
RasterImage::colors()/modifiable_colors()return the color storage as spans, in cell index order.fix/image-io-robustness) to let GDAL decode straight into the raster storage and to write VTI colors without any copy.Test
test-raster-image: colors set throughmodifiable_colors()are read back bycolor()andcolors().🤖 Generated with Claude Code