Bug report #2491

Raster transparency doesn't handle alpha channel

Added by Borys Jurgiel over 10 years ago. Updated about 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Rasters
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12551

Description

Open a GeoTIFF with the aplha channel. No transparency occurs. In the layer properities all 4 channels are available for the color composition, but the 'transparency channel' combobox on the Transparency tab is disabled.


Related issues

Duplicated by QGIS Application - Bug report #3348: GDAL TIFF dataset masking not fully supported Closed

Associated revisions

Revision b62daee5
Added by Giuseppe Sucameli about 9 years ago

Handle raster layer's transparency band while rendering (fix #2491)

Revision b0112f1c
Added by Tim Sutton about 9 years ago

Merge pull request #52 from brushtyler/raster-transparency

[BACKPORT] Handle raster layer's transparency band while rendering (fix #2491)

Revision 84e7626b
Added by Giuseppe Sucameli almost 9 years ago

Handle raster layer's transparency band while rendering (fix #2491)

History

#1 Updated by Alister Hood about 9 years ago

  • Assignee deleted (nobody -)
  • Pull Request or Patch supplied set to No
  • Operating System changed from Debian to All
  • Target version deleted (Version 1.7.0)
  • Priority changed from Low to Normal

The same problem occurs for grayscale images with an alpha channel, and in Windows. An example image is attached at #4159.

#2 Updated by Alister Hood about 9 years ago

I remember some conjecture on the mailing list that this is simply a new feature which hasn't been implemented yet.
But apparently it was implemented even before the "pixel list" transparency by colour: #288-6

#3 Updated by Giuseppe Sucameli about 9 years ago

  • Pull Request or Patch supplied changed from No to Yes

#4 Updated by Alexander Bruy about 9 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied in b0112f1c42.

Also available in: Atom PDF