Top "Alpha" questions

An alpha channel determines the transparency of an image or view.

colorWithAlphaComponent example in Swift

What is the correct syntax for this function in Swift? The following works fine, and colors the background purple: self.…

ios swift alpha uicolor
Adjust alpha of UIColor

I set a UIColor using rgb to a background of a UILabel. I'm trying to adjust the alpha only. How …

ios objective-c alpha uicolor
JPEG image with alpha channel on website

I would like to make a JPEG image file with some pixels that are partially transparent or fully transparent, similar …

transparency jpeg opacity alpha
Loading PNG with stb_image for OpenGL texture gives wrong colors

I am using stb_image to load a 32-bit PNG file (RGBA) and I am creating an OpenGL texture with …

c++ opengl png textures alpha
animation alpha change

I've always worked with Flash, and it's pretty easy to change the alpha values between one frame and another. Is …

objective-c ios animation png alpha
PIL: Thumbnail and end up with a square image

Calling image = Image.open(data) image.thumbnail((36,36), Image.NEAREST) will maintain the aspect ratio. But I need to end up …

python png thumbnails python-imaging-library alpha
PyGame: Applying transparency to an image with alpha?

I want to display an image with alpha with a specified transparency, but can't figure out how to do it. …

python pygame alpha geometry-surface blit
Is the opacity and alpha the same thing for UIView

I want to use animation to change UIView's color to make it fade, however, somehow i can't access and set …

ios objective-c xcode opacity alpha
How do you draw transparent polygons with Python?

I'm using PIL (Python Imaging Library). I'd like to draw transparent polygons. It seems that specifying a fill color that …

python-imaging-library polygon alpha
Individual alpha values in scatter plot

I'm wondering if it is possible to have individual alpha values for each point to be plotted using the scatter …

python matplotlib alpha scatter-plot