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
1 answer

Drawing a line on transparent frame

I would like to build a simple highlighter program. The idea is to set an image to change the cursor so that it will look like a highlighter. And then, when we move the cursor, it will trace a line along with our movement. The requirement here is to…
Keith
  • 361
  • 1
  • 3
  • 17
1
vote
0 answers

My PNG has transparency, but after saving with PHP GD, transparency is lost

I found the solution to my problem. See below the original post and completely at the bottom my solution. I made a stupid mistake :) First I crop an image and then save it to a png file. Right after this, I also show the image. However, the saved…
1
vote
1 answer

Rendering transparent geometry OpenGL

I wrote a BSP renderer. I finally added the ability to render masked textures using alpha testing. It works great and I don't have to sort the scene's geometry. Now, I need the ability to have textures that are semi transparent. Is there a way to do…
Pladnius Brooks
  • 1,248
  • 3
  • 19
  • 36
1
vote
3 answers

How to make layout's and view's background transparent?

I'm trying to make a layout with a background and add a scroll view at the bottom of this layout. here's my code: FrameLayout mainLayout = new FrameLayout(getApplicationContext()); mainLayout.setLayoutParams(new…
piojo
  • 1,919
  • 4
  • 24
  • 40
1
vote
2 answers

WPF - Translucent application

My goal: Similarly the Intellisense dropdown in Visual Studio 2008, when the user presses CTRL, I want the entire application to become 40% opaque. How can I do that? I want to use the regular window chrome, so my WindowStyle cannot be "None".…
Gus Cavalcanti
  • 10,527
  • 23
  • 71
  • 104
1
vote
2 answers

Eclipse RCP Draw2d Transparency (setAlpha) makes borders / outline invisible

We are providing users option to make figures drawn on canvas transparent. To achieve this we are using method setAlpha(0). But this makes figure completely invisible. Our requirement is that outline / border should be shown on transparent figures…
1
vote
1 answer

Why are there dark edges / halos between transparent and opaque areas of textured surfaces (in opengl es 2.0 fragment shaders)

I'm using a PNG texture image to control the opacity of fragments in an Opengl es 2.0 shader (on iOS). The result I am after is light grey text on top of my scene's medium grey background (the fragments shader is applied to a triangle strip in the…
Dreamwieber
  • 422
  • 5
  • 10
1
vote
2 answers

Make JSplitPane fully transparent

I am writing GUI program in Java. I have a JPanel called jpanel1 that I inserted a JSplitpane (jSplitPane1) on it. I set right and left components of jSplitPane1; jpanel2 & jpanel3. I set a background image on downward panel (jpanel1) and I want to…
sajad
  • 2,094
  • 11
  • 32
  • 52
1
vote
3 answers

Transparent Winform with image

I have an image (PNG file) that has an alpha channel that is set to 50% opaque. When I try to draw the image on a form that has the TransparencyKey set to white, and the backcolor set to white I expect the image to be drawn 50% see-through. However,…
Jon Tackabury
  • 47,710
  • 52
  • 130
  • 168
1
vote
1 answer

Flash not transparent in Chrome or Firefox

I'm using Flash 10.3 in Firefox 7 and Chrome 14. I have some HTML and Flash content where the Flash, containing complex vector drawings with a transparent background, is layered overtop of the HTML. I use Flashes wmode=transparent setting to allow…
Cerin
  • 60,957
  • 96
  • 316
  • 522
1
vote
1 answer

PyGTK: CellRendererPixbuf and transparency

I'm using PyGTK and I want to draw something inside a CellRenderer, so I'm using a CellRendererPixbuff, and it's working. The only problem is that if that drawing has transparency, the output will be bad and mixed up. Screenshot:…
saeedgnu
  • 4,110
  • 2
  • 31
  • 48
1
vote
1 answer

Showing a semi-transparent Image object over an IVideoWindow in C# using DirectShow.NET

I've been using DirectShow.NET to interface with a webcam in C# and so far everything has been going smoothly. However, right now I'm working on trying to set up a method to "crop" an image (while it's still being displayed as a webcam…
ashays
  • 1,154
  • 1
  • 12
  • 30
1
vote
2 answers

Is there a way to add a gradient transparency up to a specific point to a div using CSS?

I'm trying to replicate an effect from the Apple TV+ Smart TV App on my personal website where there's a gradient blur over the background down to a certain point of the webpage, but once you scroll down further, the blur moves up and covers the…
1
vote
0 answers

Resizing TBitmap with alpha channel in Delphi

I have a TBitmap in Delphi with alpha channel. It comes from loading a PNG with a TPNGImage and then extracting the TBitmap. This works perfectly. Now, I want to scale this TBitmap, and I found that scaledraw has low quality and does not handle…
Adrian Maire
  • 14,354
  • 9
  • 45
  • 85
1
vote
1 answer

Clipping image to transparent mask

I have these images with associated masks that have transparency, and I want to apply the alpha of the mask onto the original image. For instance: Image - https://i.imgur.com/8Nb4VJ8.png Mask - https://i.imgur.com/anflRUr.png I've gone through the…