Skip to content

Add 'gdal raster nodata-to-alpha'#12560

Merged
rouault merged 2 commits intoOSGeo:masterfrom
rouault:gdal_raster_nodata_to_alpha
Jun 18, 2025
Merged

Add 'gdal raster nodata-to-alpha'#12560
rouault merged 2 commits intoOSGeo:masterfrom
rouault:gdal_raster_nodata_to_alpha

Conversation

@rouault
Copy link
Copy Markdown
Member

@rouault rouault commented Jun 11, 2025

Fixes #12524

@rouault rouault added this to the 3.12.0 milestone Jun 11, 2025
@rouault rouault added enhancement funded through GSP Work funded through the GDAL Sponsorship Program gdal_cli Anything related to the new 3.11 "gdal" CLI frontend labels Jun 11, 2025
@jratike80
Copy link
Copy Markdown
Collaborator

Could it have an option to write an 1-bit mask band instead of alpha?

@rouault
Copy link
Copy Markdown
Member Author

rouault commented Jun 11, 2025

Could it have an option to write an 1-bit mask band instead of alpha?

I indeed considered there are other similar cases like nodata to mask band, mask band to alpha, alpha to mask band. All those can be accomplished with "gdal raster select" by using "-b {number|mask}" and "-mask {number|mask}".

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jun 12, 2025

Coverage Status

coverage: 71.065%. remained the same
when pulling af7f56a on rouault:gdal_raster_nodata_to_alpha
into d11b3d5 on OSGeo:master.

@rouault rouault force-pushed the gdal_raster_nodata_to_alpha branch 3 times, most recently from d4fa19b to af7f56a Compare June 16, 2025 14:13
@rouault rouault force-pushed the gdal_raster_nodata_to_alpha branch from af7f56a to d23c213 Compare June 18, 2025 09:23
@rouault rouault merged commit 70c86ce into OSGeo:master Jun 18, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement funded through GSP Work funded through the GDAL Sponsorship Program gdal_cli Anything related to the new 3.11 "gdal" CLI frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to create correct alpha band in GeoPackage using 'gdal raster mosaic'

3 participants