Skip to content
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

Tolerance support for pixel values #9462

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

selmaVH1
Copy link
Collaborator

fixes #9176

@selmaVH1 selmaVH1 added the backport release_3.40 On merge create a backported pull request to 3.40 label Dec 10, 2024
Comment on lines 663 to 665
#. For single-band rasters (e.g. DEMs), enter the **From** and **To** values and
adjust the **Percent Transparent** to apply.
#. For multi-band rasters (e.g. RGB images) enter the **Red**, **Green** and **Blue** values of the pixel and
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given a multiband layer, when I use "multiband" or "paletted/unique values" symbology, I'm able to see the rgb table but with the other symbology types, I still get the "from - to" table. So I think the distinction (or the availability of one or other table) is based on the applied symbology, and not only the raster type itself.
maybe replace "rasters" with "based symbology"?
And for consistency with the GUI, let's use "multiband" instead of "multi-band".

adjust the **Percent Transparent** to apply.
#. For multi-band rasters (e.g. RGB images) enter the **Red**, **Green** and **Blue** values of the pixel and
adjust the **Percent Transparent** to apply.
QGIS supports **Tolerance** for pixel values, when defining transpareny.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
QGIS supports **Tolerance** for pixel values, when defining transpareny.
QGIS supports **Tolerance** for pixel values, when defining transparency.

#. For multi-band rasters (e.g. RGB images) enter the **Red**, **Green** and **Blue** values of the pixel and
adjust the **Percent Transparent** to apply.
QGIS supports **Tolerance** for pixel values, when defining transpareny.
This means that pixels with colors close to the specified RGB values can also
Copy link
Collaborator

Choose a reason for hiding this comment

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

may be?

Suggested change
This means that pixels with colors close to the specified RGB values can also
This means that pixels with color close to the specified RGB values can also

@DelazJ DelazJ enabled auto-merge December 13, 2024 14:22
@DelazJ DelazJ merged commit b027e22 into qgis:master Dec 13, 2024
3 checks passed
DelazJ added a commit that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release_3.40 On merge create a backported pull request to 3.40
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support tolerances for QgsRasterTransparency pixel values (Request in QGIS)
2 participants