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

How to fade in/out individual Tiles of AnimatedSprite

I have an AnimatedSprite, consisting of 2 Tiles: BitmapTextureAtlas mAtlas = new BitmapTextureAtlas(mEngine.getTextureManager(), 100, 100, TextureOptions.BILINEAR); ITiledTextureRegion mRegion=…
Al0x
  • 917
  • 2
  • 13
  • 30
0
votes
0 answers

Calculating the Similarity of two raster images: Proper handling of the Alpha Channel?

I need to implement a similarity measure for two same sized raster images. The basic idea is to use one image as the base (average) and substract the other image from the base resulting in an 'error' being the normalized difference between the two…
Martin Kersten
  • 5,127
  • 8
  • 46
  • 77
0
votes
1 answer

How to change alpha of a sprite through script in Unity

I have 4 buttons and they each flash when the button is pressed. However if you were to press a button, then while the button is darker (flashing) click another one, that button then stays dark. I want to reset the color of the sprite before…
mr-matt
  • 218
  • 1
  • 8
  • 20
0
votes
1 answer

Xcode Swift animation transparency error

My objective is to get label0 to dynamically change text as label1 changes transparency. Here is a section of the code i used for label1's animation: UIView.animateWithDuration(2.0, animations: { () -> Void in self.label1.alpha =…
ChubbyChocolate
  • 246
  • 2
  • 3
  • 13
0
votes
0 answers

Objective-C: setCenterRect crashes at run time on sprite with alpha=0

I don't know if this is a known bug. If I try to set the center rectangle dimensions with setCenterRect in a sprite with an alpha = 0, XCode crushes at run time with: Thread 1 : EXC_BAD_ACCESS (Code = 1, address = 0x0). No other warnings or errors…
Alex
  • 995
  • 12
  • 25
0
votes
1 answer

opengl GDI textures support alpha buffer?

As subject states, does GDI support alpha buffer for textures? If my application runs in a windows-remote-desktop environment, when I try to keep a copy of the back buffer to a texture, the alpha channel seems to be ignored. The alpha buffer is…
aftos
  • 7
  • 2
0
votes
1 answer

How to set picture's alpha using openGL 2.0 in android

I have a background picture,shown by using openGL 2.0. Now I want to set the picture's alpha value.but I failed. @Override public void onSurfaceChanged(GL10 gl, int width, int height) { GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1); …
shaotine
  • 249
  • 3
  • 15
0
votes
0 answers

Android : Alpha Animation not working on Listview row

In my app I have a ListView that's populated by a custom adapter. Each row is been inserted by pressing a button. After the new row has been inserted into the ListView, I want an Alpha Animation to start in order to display the new row. Here is my…
SoCo
  • 1,934
  • 2
  • 15
  • 20
0
votes
0 answers

matlab animation with multiple layers

I'm using contourf to generate a wave propagation animation. I'm coloring just one range in the matrix for each iteration of the for loop.I'm then animating the generating images as gif. When I add an image to to serve as background to my wave…
Ahmed Niri
  • 653
  • 1
  • 5
  • 11
0
votes
1 answer

Animating Image Object Opacity in Canvas Using GreenSock's TweenLite

I'm currently building an animated banner using Canvas. I've got coloured SVG dot graphics set as Image() objects on my canvas. I've been animating the dots on the canvas along x,y paths and I'd like the dots to fade out by the end of their…
Cmaxster
  • 1,035
  • 2
  • 11
  • 18
0
votes
1 answer

Text color changes after applying the alpha in Android

I have a custom_row.xml which will become part of ListView using BaseAdapter
Shoaib Chikate
  • 8,665
  • 12
  • 47
  • 70
0
votes
1 answer

X11 Equivalent of gdk_pixbuf_add_alpha

In x11 I have obtained the binary blob by using XGetImage. In GDK we have this function that adds alpha of 255 to the Pixbuf: https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Utilities.html#gdk-pixbuf-add-alpha I was wondering if there is a…
yatg
  • 1,121
  • 1
  • 9
  • 15
0
votes
1 answer

Transparent rendering mode doesn't work in windows build

Unity: 5.1.1f1 Lang: C# I'm trying to set a GameObject to transparent rendering mode, ingame. It works perfectly in the editor mode, but does nothing in the windows build. This is what i'm doing: // make object semitransparent Material m =…
FrakyDale
  • 647
  • 8
  • 22
0
votes
2 answers

How to tell if PNG file has an Alpha Channel / Transparency

Trying to find the best / easiest way using Objective C on MAC OSX if a PNG file has an Alpha Channel.
ort11
  • 3,359
  • 4
  • 36
  • 69
0
votes
1 answer

Random UIImageView Alpha

I'm working on an app that will start off with four images and eventually more images will be adding onto the screen but for now I'm trying to figure out how I can have the app randomly select one UIImageView every time and set the alpha to 0.7 and…
user1457381