Bug report #19093

Incorrect colour displayed on rasters

Added by Patrick Dunford almost 6 years ago. Updated almost 6 years ago.

Category:Map Canvas
Affected QGIS version:3.0.3 Regression?:No
Operating System:Lubuntu 18.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:26923


The colour displayed on the rasters is yellow instead of orange.

The rasters have been altered from the original with Gimp. They display correctly in lots of image viewers, but not in Qgis.

Screenshot_2018-06-03_14-56-18.png (1.66 MB) Patrick Dunford, 2018-06-03 04:56 AM

Screenshot_2018-06-06_17-03-29.png (2.99 MB) Patrick Dunford, 2018-06-06 07:03 AM

Screenshot_2018-06-06_17-33-39.png (2.77 MB) Patrick Dunford, 2018-06-06 07:34 AM

Related issues

Related to QGIS Application - Bug report #21463: Unable to display some rasters in canvas Feedback 2019-03-04


#2 Updated by Patrick Dunford almost 6 years ago

Using the same project as above, the picture attached is how it renders in 3.03 running on another system (Manjaro Linux). Again it is just the rasters that have been customised in Gimp, and the rasters as regular jpeg images view just fine in an image viewer on the same computer.

A new version of Gimp was recently released, and it's difficult to know if that has any bearing on this situation. However, creating a new project file and adding the same rasters to it results in a normal display instead of a garbled one.

#3 Updated by Patrick Dunford almost 6 years ago

The Manjaro issue only occurs on Manjaro. Not able to replicate on any other platform so far (tried Ubuntu and Fedora).

#4 Updated by Patrick Dunford almost 6 years ago

So I just downloaded some new aerial photography from the internet and I open it in a 2.18 project and the same thing happens with the funny colours. So this also happens in 2.18 and happens with files that have not been altered by me in any way. I can tell you for a fact that the colours you can see in this screen shot attached are totally unnatural, the dark blue for the harbour is supposed to be ocean colour or blue-green, and the yellow buildings, you would find, are actually red.

#5 Updated by Patrick Dunford almost 6 years ago

Pretty much everything I can test with will show this problem.
2.18.17, 2.14.22 and a version of 2.99 going back 18 months.

#6 Updated by Jürgen Fischer about 5 years ago

Also available in: Atom PDF