You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User-added transparent pixel values are ignored when contrast enhancement is set to "no enhancement" with RGB rasters. I'm seeing this issue with LANDSAT-7 tiles
Steps to reproduce:
Open a new project, make sure the map canvas background color is white
Load a RGB-based raster (LANDSAT-7 3-band composite is perfect)
Open the raster's layer properties window
Make sure that the contrast enhancement is set to "no enhancement" in the Style tab
Go to the Transparency tab, and add a transparent value manually via button (set the transparency value to Red=0,Green=0,Blue=0,Percent Transparent=100
Apply the settings
At this stage, the raster should redraw with any black (RGB=0,0,0) value being transparent and see through. However, QGIS now fails to make the black values transparent. If you go back into the raster layer properties's Style tab and enable contrast enhancement - say "Stretch to MinMax", the user-set transparent values will be taken into account.
The text was updated successfully, but these errors were encountered:
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Rasters
Related to general raster layer handling (not specific data formats)
labels
May 24, 2019
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 7756
Affected QGIS version: master
Redmine category:rasters
User-added transparent pixel values are ignored when contrast enhancement is set to "no enhancement" with RGB rasters. I'm seeing this issue with LANDSAT-7 tiles
Steps to reproduce:
At this stage, the raster should redraw with any black (RGB=0,0,0) value being transparent and see through. However, QGIS now fails to make the black values transparent. If you go back into the raster layer properties's Style tab and enable contrast enhancement - say "Stretch to MinMax", the user-set transparent values will be taken into account.
The text was updated successfully, but these errors were encountered: