Questions tagged [transparency]

Transparency is the property of being see-through; a transparent object reveals objects behind it. Transparency is also known as alpha blending. The opposite of transparency is opacity.

Transparency in technology is an attribute of a graphical object and refers to the degree to which the object can be seen through.

Objects can be layered on top of one another, the order of which is decided by a . An object which is rendered "on top of" another may have a transparency level where the object underneath is seen through the object on top, with the view of the object underneath blended () with that of the object on top.

Transparency is the opposite of .

See also:

3519 questions
29
votes
4 answers

How to get an opaque UINavigationBar on iOS 7

Is there any way to make the UINavigationBar, targeted for iOS 7, a solid color with no translucency? I have tried setting the backgroundColor, the barTintColor, opaque, transparent/translucent, etc... and nothing works. Anyone know how to do…
tentmaking
  • 2,076
  • 4
  • 30
  • 53
28
votes
3 answers

How to change the background color of a saved transparent bitmap

I am opening a png image into a Bitmap, making some modifications to it and then saving it to disk as a jpg. In the case where the png has some transparent areas, they are saved as black. Is there a way to change this default behavior so the image…
cottonBallPaws
  • 21,220
  • 37
  • 123
  • 171
28
votes
4 answers

DropShadow for WPF Borderless Window

I have a WPF Window with WindowStyle set to none. Is there some way I can force this window to drop a shadow (like the one you get when WindowStyle is not none)? I don't want to set AllowTransparency to true, because it affects the performance. And…
TripShock
  • 4,081
  • 5
  • 30
  • 39
26
votes
9 answers

How to center image in FloatingActionButton behind transparent background?

I have a FloatingActionButton and I would like to make it transparent with a centered icon. I added a style: which works so far. THe FAB got…
Murat
  • 716
  • 1
  • 6
  • 14
26
votes
6 answers

Transparent images with C# WinForms

I am working on a Windows Forms application in VS 2008, and I want to display one image over the top of another, with the top image being a gif or something with transparent parts. Basically I have a big image and I want to put a little image on top…
Fiona
  • 7,747
  • 4
  • 19
  • 8
26
votes
20 answers

Ethical Dilemma: Should I still cater for IE6 as a web-developer

Possible Duplicates: IE6: To support or not to support. Should we support IE6 anymore? I'd hate to (HATE TO) admit it, but there are some people still using this browser. A client of mine is facing an issue where the "transparency" area of a png…
Dan Hanly
  • 7,829
  • 13
  • 73
  • 134
25
votes
3 answers

php GD create a transparent png image

I'm trying to create a transparent png image and layer various other pngs and jpgs to create a final png with transparency. I'm having trouble creating my initial empty transparent png. It currently has a white background. Can anyone point me in the…
michael
  • 1,202
  • 5
  • 23
  • 34
24
votes
12 answers

IE6 PNG transparency

How can I fix PNG transparency bug in IE6 for background image?
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
24
votes
9 answers

Transparent background in a Tkinter window

Is there a way to create a "Loading Screen" in Python 3.x using Tkinter? I mean like the loading screen for Adobe Photoshop, with transparency and so on. I managed to get rid of the frame border already using: root.overrideredirect(1) But if I do…
forumfresser
  • 461
  • 2
  • 6
  • 15
23
votes
3 answers

Transparent textures behaviour in WebGL

Environment: WebGL, Chrome. I have the following behavior when using transparent png's as textures for models: Image A - the tree hides the building behind it and I see the world box texture. It also hides itself (back branches are not visible) At…
Vecnas
  • 1,387
  • 1
  • 10
  • 13
23
votes
2 answers

How to make a Texture2D 50% transparent? XNA

I'm using SpriteBatch to draw a Texture2D on the screen and was wondering how I could manipulate the the images opacity? Anyone know the best way in accomplishing this?
Tom
  • 1,187
  • 2
  • 12
  • 21
23
votes
6 answers

C# Picturebox transparent background doesn't seem to work

For a project of mine I need images to display with a transparent background. I made some .png images that have a transparent background(to check this I opened them in Photoshop). Now I have a class that extends PictureBox: class Foo : PictureBox { …
teuneboon
  • 4,034
  • 5
  • 23
  • 28
23
votes
7 answers

Converting transparent gif / png to jpeg using java

I'd like to convert gif images to jpeg using Java. It works great for most images, but I have a simple transparent gif image: Input gif image http://img292.imageshack.us/img292/2103/indexedtestal7.gif [In case the image is missing: it's a blue…
asalamon74
  • 6,120
  • 9
  • 46
  • 60
23
votes
7 answers

How to make transparent part of SVG clickable?

I have an SVG that uses :hover to change color. It only works when I hover over the solid part of the SVG, not the transparent part. I'm wondering how you could make the SVG interact with the mouse hovering anywhere over the whole SVG. The point of…
Sam Sabin
  • 553
  • 1
  • 6
  • 19
23
votes
7 answers

Java Graphics2D transparent background

I have a Graphics2D object and I want to set up the background of the object. It has a setBackground method, which has a Color parameter. This way I can set the color of the background. My question is: how can I set the transparency of the…
Lajos Arpad
  • 64,414
  • 37
  • 100
  • 175