Opened 16 years ago
Closed 15 years ago
#1278 closed bug (invalid)
Layer transparence in tif format fails
Reported by: | gespiel | Owned by: | ersts |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.0.3 |
Component: | Rasters | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | xp sp2 | Awaiting user input: | yes |
Description
geo-referenced tif images appears black when change transparence in layer properity.
Attachments (3)
Change History (15)
comment:1 by , 16 years ago
by , 16 years ago
Attachment: | qgis_transparenz_tif.pdf added |
---|
transparency in layer properitiy and tif file is black
comment:2 by , 16 years ago
Component: | Build/Install → Rasters |
---|
comment:3 by , 16 years ago
Owner: | changed from | to
---|
Hi gespiel! Sorry you are having problems.
geo-referenced tif images appears black when change transparence in layer properity.
To me the uniformly gray display, as shown in the PDF example, makes me think you need to apply an enhance or "stretch" to the image.
1) Does your tif look correct outside of QGIS? 2) When the transparency is 0% does your image look correct/as you expect? 3) How was your tif georeferenced? Did you use the QGIS plugin? (if yes, can you explain the setting you used)
Is it possible to post a copy of your tif?
comment:4 by , 16 years ago
Hi, outside Qgis, the tif-iamges look ok. Attached are two tif images. Adding raster Layer without change trasparency, both images look ok in Qgis. Change transparence of the image b_plan_fell_kortsfuhr.tif is ok. change tranparence in the rasterlayer of image b_plan_klostergarten-geo.tif, the image get grey, change agains to transparence 0%, the image get black.
by , 16 years ago
Attachment: | b_plan_fell_kortsfuhr.tfw added |
---|
by , 16 years ago
Attachment: | b_plan_klostergarten-geo.tfw added |
---|
comment:5 by , 16 years ago
Sorry, tif images are zip-compressed near 600 kB, so upload is not possible. Can you tell me email ontact.
comment:7 by , 15 years ago
Awaiting user input: | set |
---|---|
Status: | new → assigned |
Can we get a confirmation that this is still a problem in the Version 1.0.0 release?
follow-up: 9 comment:8 by , 15 years ago
Hello Ersts,
thank for looking to the problem. In Qgis 1.0, preview II, the problem is nearly solved. In "one Band color tifs", transparency of the white colour is shown in gray. You can solve this by looking to the color-table and add the colour 0.0 (white) and 1.0 (grey) to the tranparent pixel list.
I couldnt test it on version 1.0 stabble, because the MSVC based build of QGIS terminates with a dll-fault in Windows. (i have Qgis strictly isntalled to the wiki.qgis.org installation guide)
comment:9 by , 15 years ago
Replying to gespiel:
In "one Band color tifs", transparency of the white colour is shown in gray.
I am sorry but I don't understand. If you change the layer's transparency, all colors will change. Is there a dark layer under the white region?
You can solve this by looking to the color-table and add the colour 0.0 (white) and 1.0 (grey) to the tranparent pixel list.
How many pixel values do you have? Is it just that you don't want 0 and 1 to be shaded?
comment:10 by , 15 years ago
Please gespiel, could you test again with 1.0.1? I cannot reproduce your problem, so it might have been fixed. If so, please close it.
comment:11 by , 15 years ago
According to our new bug policy, I'm closing this, pending feedback from the user. In case it is still valid, please reopen it. Sorry for the additional trouble.
comment:12 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Can you attach a small example?