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
2 answers

How to make transparent part of a sprite in a Java 2D Game?

I'm making a 2D tile based game and I need to make part of a sprite transparent. I assume I should choose a determinate color and tell Java "Please Java, don't draw any pixel of this color.", but I don't know how to do it. I already googled it but I…
Rama
  • 4,697
  • 5
  • 22
  • 19
1
vote
1 answer

Workaround for transparency and depth testing in OpenGL ES?

I'm trying to get depth testing working correctly on OpenGL ES, using the draw_texture extension. I realised early on that 'normal' z co-ordinates when rendered using this extension don't work. This was due to the extension effectively using the Z…
Dororo
  • 3,420
  • 2
  • 30
  • 46
1
vote
2 answers

how to create smooth favicon transparency for internet explorer?

for firefox and chrome i use a png as my favicon which allows me to use nice smooth alpha transparency. However, internet explorer doesn't display my png favicon, so i have to use ico which only supports 1bit transparency (as far as i…
Mat
  • 11
  • 3
1
vote
0 answers

Powerpoint 365 Interop C# - Setting Picture Transparency

I'm using Powerpoint 365 and C# Interop in VS2022 to add a picture to a Powerpoint presentation using: var pic = slide.Shapes.AddPicture(FileName: pictureName, LinkToFile: MsoTriState.msoFalse, SaveWithDocument: MsoTriState.msoCTrue, Left: picLeft,…
steve c
  • 11
  • 2
1
vote
0 answers

CSS stacking context affecting SVG opacity?

I came across an "issue happening on Safari" raised which finally lead me to discover a very different behaviour on some scenario on Chromium based browsers vs. Firefox vs. Safari, with 3 different results. But I can't really find any reference on…
Áxel Costas Pena
  • 5,886
  • 6
  • 28
  • 59
1
vote
1 answer

Pygame : image.convert_alpha() won't work

So, I'm making a prototype of game using Pygame, Pytmx, and PyScroll (I'm following "Graven" Turorial on youtube) This is my problem : I have a spritesheet (96x38 pixels), and I want to get only one image of it.. class…
Cold Fire
  • 91
  • 5
1
vote
1 answer

Transparent .mov video into sequence of png with transparent background ffmpeg

I'm trying to convert Memoji from an iPhone/Mac into series of png with transparent background so I can create a sprite sheet. When press a spacebar I can clearly see it has a transparent background, however when run ffmpeg -i sprite/video.mov -r…
Alina Khachatrian
  • 757
  • 1
  • 6
  • 19
1
vote
1 answer

wxPython - Putting a transparent PNG image on top of another

I need to display a transparent .png image on top of a normal picture. I have tried this aproach, but wxPython says wxPaintDC can't be created outside wxEVT_PAINT handler and I can't find a workaround. I binded a wx.EVT_PAINT to some function and…
NeoFahrenheit
  • 347
  • 5
  • 16
1
vote
2 answers

3DSMAX: Render only the shadow

I have a boat dock over some water. I want to render out two images. One for the water and dock's shadow, and another with just the dock because of what I'm putting them together in Flash I need to keep them separate.
RapsFan1981
  • 1,177
  • 3
  • 21
  • 61
1
vote
1 answer

Event resolution for overlapping DIV siblings

I have a problem, where I have 2 sibling divs that overlap. First is always opaque and has content in it. Second has content, but only on some parts. Both need to have their with and height set. On parts where 2nd div overlaps 1st, 2nd has to take…
mirosval
  • 6,671
  • 3
  • 32
  • 46
1
vote
1 answer

transparent background image without turning the content transparent

I have a background for the entire body of my page. Inside the body, I have a form that has another background image specifically for it. I want the background of that form to be slightly transparent so I could see the background image. What…
jgrewal
  • 342
  • 1
  • 10
1
vote
0 answers

Changing global light level for a Win32 app

I wrote a game in C++, but it looks very different on different screens. I would like to have an in-game lightness modifier slider to let the user pick the right level of darkness. I'm not very experienced with the Win32 API, but I tried the…
Jompa
  • 59
  • 1
  • 7
1
vote
1 answer

Java Swing: Make a dialog partially transparent.

I have a need to make my dialog partially transparent. Pull out a tab from google chrome to create a new window, while dragging the shape it makes is the shape that I want to make, minus see-through. The point is that my dialog is a fairly simple…
Dmitriy Likhten
  • 5,076
  • 7
  • 36
  • 47
1
vote
1 answer

How to Creating Transparent Bitmap Image?It gives black background when i set property Graphics.clear(color.Transparent ).)

I am using a tag in a aspx page named displayImage.aspx and assigning its src attribute value which is other one aspx page named getImageFromText.aspx ** src="getImageFromText.aspx" .** I wrote code for creating bitmap in…
Shailesh Sahu
  • 5,801
  • 5
  • 18
  • 9
1
vote
0 answers

When ToastBar messages are manually cleared, components below them are clicked as well... Any suggestions?

I am testing a mobile app I have built and noticed that when I manually clear a ToastBar message through the touch interface, if there is a Component beneath it, such as a Button, it is clicked as well. I know that in Android native development, it…
Spyros
  • 339
  • 1
  • 7