Questions tagged [alpha]

An alpha channel determines the transparency of an image or view. Lower values are more transparent, and higher values are more opaque

An alpha channel determines the transparency of an image or view. Lower values are more transparent, and higher values are more opaque

1779 questions
0
votes
1 answer

C Imlib blend two images with alpha

I'm trying to blend two images with alpha using Imlib library (this code is changing wallpaper). So far I got this: #include #include #include int main( int argc, char **argv ) { Display *display; Pixmap …
Popiel
  • 183
  • 3
  • 13
0
votes
1 answer

How to apply overlay transparency to RGBA image

Here's my dilemma: I have to RGBA RAW images: a master image (the first) and a subtitle track (the second), and I want to overlay them in a way based on the alpha channel of the second image: If it's zero, then take the pixels from the second image,…
Ferenc Deak
  • 34,348
  • 17
  • 99
  • 167
0
votes
0 answers

How to achieve Transparency with OpenGL GLX, X11 and python on linux

Been working on this for ages, I can finally select a frame buffer, visual and pict format and setup a glx context and draw a triangle. The only thing I still can not figure out is why the background is black instead of transparent. Can anyone spot…
Oly
  • 370
  • 5
  • 16
0
votes
1 answer

android alpha animation remove alpha

I have Imageview in my Xml file and i have 0.6f alpha in my imageview.this is a code
donoachua
  • 193
  • 2
  • 16
0
votes
2 answers

Change alpha coefficient using Lockbits

I have written a function which changes the alpha coefficient of an image. I use setpixel and getpixel,which is very slow. I found out that Lockbits method is faster.How can I do it with Lockbits? Here is my current code: using System; using…
Rati Sharabidze
  • 69
  • 1
  • 12
0
votes
1 answer

Pixel grid on lighthouse light in Farmville 2 (Samsung Note 2)

I played Farmville 2 on a Samsung Note 2. I noticed a clear grid on every alpha lights. That does not happen on an iPad Retina though. I wonder what is the reason of this. Is it due to the GPU, or is it done by the developer to save device…
0
votes
1 answer

What is the difference between beta and alpha API's?

What is the difference between beta and alpha API's? I've seen these two versions offered on Google's Developers API website for PHP: https://developers.google.com/google-apps/tasks/downloads
user5369493
0
votes
1 answer

Python Pillow using the Incorrect Mask

I'm using Pillow to cut out a shape from an image. To do this, I'm using an alpha mask that contains a black and white image of the shape I need. When I apply the mask with Pillow, I'm left with a cutout of the image, like I wanted, but it's…
watswat5
  • 671
  • 1
  • 7
  • 19
0
votes
1 answer

Texture turns to gray in opengl when added alpha channel manually

int j,k,t3,t4; for (int i = 0;i < width;i++) for (j = 0;j < height;j++) { t3 = (i*height + j)*3 ; t4 = (i*height + j) * 4; for (k = 0;k < 3;k++) texture[t4+k] = data[t3+k]; texture[t4 + 3] =…
Bill Sun
  • 51
  • 5
0
votes
1 answer

C# Screen Blend with opacity

I am trying to recreate in C#, a series of photoshop filters. There is a specific look i want to give to an image that I found in a photoshop tutorial. I am creating a program that does this automatically. I am at a step where I have to Screen blend…
Terrordoll
  • 173
  • 1
  • 1
  • 10
0
votes
1 answer

Is png rgba data changed by a browser when displayed?

I have a 2-pixel PNG image with the following rgba: image.setAt(0, 0, { red:255, green:10, blue:10, alpha:100 }); image.setAt(1, 0, { red:255, green:255, blue:55, alpha:255 }); image.setAt(0, 1, { red:90, green:10, blue:65, alpha:250…
rlib
  • 7,444
  • 3
  • 32
  • 40
0
votes
1 answer

Place image over image in C# using specific alpha transparency level

I want to be able to place an image over an image, but apply a specific level of transparency for the overlaying image. This is what I have so far: private static Image PlaceImageOverImage(Image background, Image overlay, int x, int y, int…
William Troup
  • 12,739
  • 21
  • 70
  • 98
0
votes
3 answers

Objective-C: Status Bar Alpha

I am creating a custom alert view and I am setting the background of this view to a mostly alpha black, to cause the background view to appear slightly faded. This works except for with the status bar (it stays the exact same). With the current…
user3784214
  • 105
  • 9
0
votes
0 answers

I can't change Alpha property of a HUD in AndEngine. Is it possible?

I'm trying to change alpha value of a HUD, but it is not changing. I've tried with AlphaModifier and changing with method .setAlpha(), but with no result. As i can see, a HUD entity does not have setBlendingFunction() method. This is what i am now…
GmloMalo
  • 667
  • 7
  • 14
0
votes
3 answers

WSO2 Identity Server 5.1 Alpha will not start, hangs

I got the 5.1 Alpha release today and was unable to get it to completely start. it hangs at (or after) this log message: INFO {org.apache.catalina.startup.TaglibUriRule} - TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined I…
jeremy simon
  • 601
  • 1
  • 8
  • 19