Questions tagged [alpha-transparency]

The alpha transparency of an image defines how transparent the pixels of this image are. Typically, each pixel has an alpha value between 0 (fully transparent) and 255 (fully opaque).

Alpha transparency is an attribute of pixels within an image (or image layer) which determines how transparent the pixel is, by blending the pixel color with the color of the pixel in the layer beneath it. most image editing software allow to edit a layer or image alpha transparency. The alpha value is saved in addition to the RGB value of the pixel. Ranges of transparency may change according to the software setup.

Alpha Transparency as part of Alpha Compositing.

468 questions
0
votes
1 answer

Android ListView alpha in background color only

I have a list view and now all cells have white background. What I want is to keep the white color in listview's background and put some "alpha" value to make it semi transparent so the user can see the whole view's background. If I put…
Panos
  • 7,227
  • 13
  • 60
  • 95
0
votes
0 answers

I want to make some area of image transparent. Image is set as background of an UIButton

I have an image with irregular shape. I set it as a background image of an UIButton. Now, I use OBShapedButton library to enable touch only where image is non-transparent. But, for some reason if I click on transparent image area, when view appears…
Geek
  • 8,280
  • 17
  • 73
  • 137
0
votes
1 answer

Inverting alpha value java

i am writing a game where their is a slider that controls the alpha value of a color. It seems to be working fine except that now i want to invert the alpha value. For example if the value is 0 the value would become 255, and if the value was 255…
Josh Sobel
  • 1,268
  • 3
  • 14
  • 27
0
votes
1 answer

drawing alpha transparent rectangles to PDF from PHP

I am currently using FPDF to generate PDF files. What I would need is to draw alpha-transparent rectangles (say with opacity 0.5) on top of an image. I cannot find how to do this in FPDF, since SetDrawColor and SetFillColor (which are used to draw…
user1111929
  • 6,050
  • 9
  • 43
  • 73
0
votes
2 answers

Change Sprite alpha previously changed by AlphaModifiers

I'm running AlphaModifier on a Sprite mSprite.setBlendFunction(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); mSprite.registerEntityModifier(new AlphaModifier(.5f,1,0.4f)); After that i want to cahnge alpha of mSprite to 1 again. i tried :…
0
votes
1 answer

Can I determine the average transparency of an image in Corona SDK?

Using Corona SDK, I want to be able to determine if a sprite frame is blank and if so disregard it. In my workflow, I'm using a perl script to automatically create a bunch of equally-sized, square, image/sprite sheets from multiple individual images…
0
votes
1 answer

DDS texture transparency rendered black Opengl

I am currently trying to render textured objects in Opengl. Everything worked fine until I wanted to render a texture with transparency. Instead of showing the the object transparent it just rendered in total black. The method fo loading the texture…
jean-claude91
  • 167
  • 1
  • 2
  • 10
0
votes
1 answer

Combine (Blend) two images to a final image, but avoid current content

When layering multiple I have to combine them at least once with an "empty" image or background. But there is nothing like "empty". It's transparent black oder transparent white. Even being completely transparent has a color which is normally…
Steffen Binas
  • 1,463
  • 20
  • 30
0
votes
0 answers

QT4 making a dial control semi-transparent over an image

I have a dial control over an image scene->addPixmap(*pixmap); this->ui->graphicsView->setScene(scene); and I want to see the underlying image also in the control area. I tried for example this->ui->dial->setStyleSheet("QWidget{background-color:…
P5music
  • 3,197
  • 2
  • 32
  • 81
0
votes
1 answer

how to make a jpeg image semi transparent using gimp?

Possible Duplicate: Image background transparent GIMP I've a jpeg image. i'd like to make it more transparent as i'm using it in my android app as a background. It will have textview in front of it and the image's colours can clash with text in…
turtleboy
  • 8,210
  • 27
  • 100
  • 199
0
votes
1 answer

jQuery hover transition on images with transparency

All the examples I've found to do this assume you have a jpg or some other image without transparency, like this tutorial. Now, if I applied that to a PNG with a shadow effect, the images are doubled up and the shadow effectively gets twice as…
Belladonna
  • 3,824
  • 2
  • 24
  • 33
0
votes
1 answer

PHP : How to create a shadow to an image using an alpha mask

I have a PNG image with an alpha mask. I want to generate a shadow for this image, that would use the alpha mask. a picture is worth thousand words http://www.brunet.fr/alpha.jpg I suppose I would need to : get the alpha mask from the first…
Matthieu
  • 563
  • 1
  • 7
  • 25
0
votes
2 answers

JLayeredPane with transparent layer causes incorrect drawing

I have a JLayeredPane that has two layers. The top level is fully transparent and acts as a glass pane that captures mouse events and then dispatches them to the pane beneath it. The bottom layer does not draw correctly for an unknown reason. Do I…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
0
votes
2 answers

Remove Whitepixels from a bitmap

I converted a movieclip with a lot of unused space into a bitmap, but it seems alike that many white pixels have been added to the bitmap during the conversion so the background wont be displayed properly. My question is how to remove the background…
tschery
  • 153
  • 2
  • 15
0
votes
1 answer

Alpha value for imageView keeps changing in Interface Builder

I am setting the alpha value in IB to 0.1 of an imageView os it is slightly transparent. But for some reason, IB keeps changing that value to 0.100000001490116. Any idea why that is? I can of course set it programatically to 0.1 to make sure it has…
renesteg
  • 551
  • 1
  • 9
  • 24