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
1
vote
3 answers

LWJGL Transparency

I am trying to use LWJGL transparency using the command: // Enable transparency glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); And transparency works, its just that a background drawn like this: // Draw Background …
Mika
  • 111
  • 3
  • 10
1
vote
1 answer

Save a GIF with index transparency using ImageIO out of an image with alpha transparency

I have a BufferedImage with alpha transparency, which I need to save as GIF with index transparency. There are no semi-opague pixels, therefore a conversion should be possible. Using the code found under…
sudoremo
  • 2,274
  • 2
  • 22
  • 39
1
vote
1 answer

OpenGL transparent texture clips previous one

I tried to write text using open-gl, by using transparent PNGs containing digits, but when I write second letter it clips the first letter ( the transparent area of second clips the first letter)
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
1
vote
1 answer

Semi-Transparent child form (or other semi-transparent layer) within a form

I'm trying to draw a semi-transparent layer over my entire form when certain events occur, with a prompt in front of this semi-transparent layer (similar to the effect in Windows Vista/7 with UAC enabled) At first I was trying to use a custom…
Sam
  • 23
  • 1
  • 4
1
vote
1 answer

Add Hover Effect with Images (wordpress)

What is the best solution for adding Image Transparency - Hover Effect to wordpress? I have a few company logos that I want to be fading until you hover over them....Is there an easy solution? Looking for the right code and css...thanks so much.
Eddie
  • 59
  • 1
  • 2
  • 9
1
vote
2 answers

My PNG icon's feathered image edge is not rendering nicely over a background image

THIS QUESTION IS SOLVED — can't post an answer to my own question on account of newb status. Had more than one file and was using the wrong file path. User error :-) I using an email template from MailChimp and I'm substituting a client logo in the…
wide_eyed_pupil
  • 3,153
  • 7
  • 24
  • 35
1
vote
1 answer

How to paint transparent areas for child controls?

I have a CTabCtrl subclass which I'm trying overriding WM_PAINT to perform custom drawing. The only problem is, when I change the selected tab, I get artifacts left on the dialog where the old paint code hasn't been erased before the new code is…
Mark Ingram
  • 71,849
  • 51
  • 176
  • 230
1
vote
3 answers

Lost Windows 7 transparency DWM not working properly

After installing new theme from Microsoft (http://windows.microsoft.com/hr-HR/windows/downloads/snowflakes-and-frost-theme) my Windows 7 lost all its transparency (Aero) effects and placed Windows Basic as the actual theme. I've been googling for my…
Dalibor Čarapić
  • 2,792
  • 23
  • 38
1
vote
1 answer

Transparent webview: underlying layer sometimes not visible

In my phonegap-based iPhone web-app I implemented a plugin that uses AVCaptureVideoPreviewLayer to take a photo. To do so, when the plugins' startCamera method is called, I set the background of the webview to be transparent and insert the video…
Andreas Pasch
  • 125
  • 1
  • 9
1
vote
3 answers

How do I make a CMFCToolBar recognize image masks?

I have a CMFCToolBar-derived class and an insance thereof is the member of a CDockablePane-derived class. I looked at the VisualStudioDemo sample to see how it's done and have this so far: int CMyPane::OnCreate(LPCREATESTRUCT lpCreateStruct) { …
foraidt
  • 5,519
  • 5
  • 52
  • 80
1
vote
2 answers

Shading artifact beneath an ImageView with a png that have fully transparent background

I'm working on a Gingerbread (2.3.3) device. I have an ImageView which contains an arrow figure and have a fully transparent background which I need to draw on some background. The problem is that there's a "shading" artifact beneath the ImageView's…
YoavG
  • 164
  • 1
  • 7
1
vote
1 answer

Retrieving last non-transparent pixel position of a transparent UIImage

How can I retrieve the top-left/top-right/bottom-left/bottom-right non-transparent pixel of a transparent image?
pasine
  • 11,311
  • 10
  • 49
  • 81
1
vote
2 answers

OpenGL saving objects for later drawing

I'm making a program using openGL with transparent objects in it, so obviously I have to paint those last. Unfortunately I was unaware of this requirement when beginning this project and now it would be a real pain to reorder it painting those at…
KáGé
  • 823
  • 2
  • 12
  • 23
1
vote
2 answers

C# XNA How to change the alpha for an entire Texture2D?

Is it possible to permanently change the alpha value of a texture without rendering it into another surface ?
pixartist
  • 1,137
  • 2
  • 18
  • 40
1
vote
1 answer

Java Graphics2D Transparent Rendering

I am making a simple 2D game in java... I am using java's Graphics2D to output to my screen. I want to be able to draw things that are partially transparent, can I do this? Or will I have to change my entire project to rendering using some other…
blazingkin
  • 552
  • 1
  • 4
  • 17