-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support tolerances for QgsRasterTransparency pixel values #58180
Conversation
Allows pixels with color components just outside of the specified RGB values to also be treated as transparent pixels Useful for photographs or compressed rasters where a range of color values must be made transparent
Makes the API more flexible for future use. We only expose a single tolerance value in the UI, but in future we could expose the separate tolerances if desired (but be wary of UI bloat!!)
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've long wished for such a thing, thanks.
@nyalldawson |
Allows pixels with color components just outside of the specified RGB values to also be treated as transparent pixels
Useful for photographs or compressed rasters where a range of color values must be made transparent.
Funded by Middle Third Geological
Peek.2024-07-19.12-25.mp4