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

Layer transparence in tif format fails #11338

Closed
qgib opened this issue Sep 3, 2008 · 11 comments
Closed

Layer transparence in tif format fails #11338

qgib opened this issue Sep 3, 2008 · 11 comments
Labels
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)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Sep 3, 2008

Author Name: Gerhard Spieles (Gerhard Spieles)
Original Redmine Issue: 1278

Redmine category:rasters
Assignee: ersts -


geo-referenced tif images appears black when change transparence in layer properity.


@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2008

Author Name: Maciej Sieczka - (Maciej Sieczka -)


Can you attach a small example?

@qgib
Copy link
Contributor Author

qgib commented Sep 18, 2008

Author Name: ersts - (ersts -)


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?

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2008

Author Name: Gerhard Spieles (Gerhard Spieles)


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.

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2008

Author Name: Gerhard Spieles (Gerhard Spieles)


Sorry,
tif images are zip-compressed near 600 kB, so upload is not possible.
Can you tell me email ontact.

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2008

Author Name: ersts - (ersts -)


you can send them to ersts

at amnh.org

@qgib
Copy link
Contributor Author

qgib commented Feb 15, 2009

Author Name: ersts - (ersts -)


Can we get a confirmation that this is still a problem in the Version 1.0.0 release?


  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Feb 17, 2009

Author Name: Gerhard Spieles (Gerhard Spieles)


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)

@qgib
Copy link
Contributor Author

qgib commented Feb 19, 2009

Author Name: ersts - (ersts -)


Replying to [comment:8 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?

@qgib
Copy link
Contributor Author

qgib commented Apr 20, 2009

Author Name: Paolo Cavallini (@pcav)


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.

@qgib
Copy link
Contributor Author

qgib commented Apr 29, 2009

Author Name: Paolo Cavallini (@pcav)


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.

@qgib
Copy link
Contributor Author

qgib commented Apr 29, 2009

Author Name: Paolo Cavallini (@pcav)


  • resolution was changed from to invalid
  • status_id was changed from In Progress to Closed

@qgib 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
@qgib qgib added this to the Version 1.0.3 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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)
Projects
None yet
Development

No branches or pull requests

1 participant