Opened 13 years ago

Closed 5 years ago

#3829 closed enhancement (wontfix)

Alpha compositing for gdal_retile.py (patch)

Reported by: cdestigter Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: Utilities Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Currently, if you have multiple overlapping source tiles (e.g. reprojected data) with gdal_retile.py, each tile written overwrites the data in the destination region.

The attached patch adds alpha compositing for RGBA images to gdal_retile.py.

If source images have an alpha channel, they are composited on top of the destination region using Porter Duff src-over compositing.

The behavior for images without an alpha channel is unchanged.

This means gdal_retile.py now requires numpy.

Attachments (1)

gdal-retile-alpha-compositing.patch (4.5 KB ) - added by cdestigter 13 years ago.

Download all attachments as: .zip

Change History (2)

by cdestigter, 13 years ago

comment:1 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.