Skip to content

Conversation

@sidhansu10
Copy link
Contributor

This PR clarifies the terminology used by gdal raster blend. The term operator corresponds to blend modes in other GIS and graphics software (for example QGIS or Photoshop), and the note clarifies that the src-over operator corresponds to the commonly known normal blend mode.
Fixes #13433.

is also available.

.. note::
The term *operator* is used in GDAL for historical reasons and corresponds
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what are those historical reasons. gdal raster blend was introduced in GDAL 3.12. Maybe they come from Mapserver https://mapserver.org/mapfile/composite.html.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sidhansu10 Please take into account the alternative phrasing I suggested in #13627 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rouault I've updated the note to use the simplified wording suggested earlier and removed the reference to historical reasons.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

The GDAL project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 28 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular link
    to any issues which this pull request fixes

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in 2 weeks.

@github-actions github-actions bot added the stale label Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

raster blend modes

3 participants