Since I'm always sticking to CSS 2, it was a (pleasant) surprise for me today to find out that CSS 3 supports alpha channels in colors. That allows for a nice range of effects. But - which browsers (and from what version) support this? Is it safe to use this today, or are we better off by still making a 1x1px png image and adding the IE6...
See image at http://reggino.kingsquare.nl/tmp/actionscriptProblem.jpg
Hi there,
I can't get my head around this one...
I'm having two sprites, where the intersection of these sprites has an alpha of 0. I tried all the blendmodes and filters, but none of them seems appropriate.
I've been puzzeling with extra layers on top of these thr...
I want to build a search engine that is similar to Wolfram Alpha. I want to insert a query and receive a response from a dedicated database, or multiple databases for multiple responses. Up until this point I know HTML + CSS, but I am mostly focused on design. I want to expand my skill set and create a web application like this but on a ...
If I draw any shape onto a surface (with SRCALPHA flag on) in a partially transparent colour it completely replaces what was underneath it, instead of overlapping like you would expect in image editors.
How can I make the shapes overlap properly?
...
Is there a way to apply a colorTransform to a BitmapData in a circle rather than in a rectangle?
Instead of erasing rectangular parts of an image by reducing the alpha channel as in the code below, I'd like to do it in circles.
_bitmap.colorTransform(new Rectangle(mouseX-d/2, mouseY-d/2, d, d),
new ColorTransform(1, 1, 1, .5, 0, 0, 0...
I'm fading out a Bitmap in AS3 by repeatedly applying a ColorTransform every frame to its BitmapData;
_bitmap.colorTransform(_bitmap.rect, new ColorTransform(1, 1, 1, .9, 0, 0, 0, 1));
When applying the apparent reverse to fade it back in I get a discoloured image.
_bitmap.colorTransform(_bitmap.rect, new ColorTransform(1, 1, 1, 1.1...
I have an image with something inside in a white backround. I want to save that image in a format that allows alpha channel or using an alpha mask in a way that the white pixels became transparents. Any light out there?
...
I have UIView subclass - actually a puzzle piece - with 2 different CGLayer initialized at initWithFrame.
In drawRect I have to blend this two layer, and the uppermost should have variable alpha depending on game-logic.
What is the best (most performance optimized) way to do this? Is there any CGLayer, or CGContext function that sets s...
Basically, I have a context where I can't programatically tint an image, though I can change it's alpha value. With some experimentation, I've found that I can layer a red, blue, and green version of the image, with specific alpha values, to produce a wide range of colors. However, I am wondering if it's possible to achieve a true RGB ...
I have PNG and need to know if it has an alpha (or if the alpha is completely white)?
How can I accomplish this in vb.net code.
...
You can easily set a stroke on a line series like this:
<mx:LineSeries yField="apple">
<mx:lineStroke>
<mx:Stroke
color="0x6699FF"
weight="4"
alpha=".8"
/>
</mx:lineStroke>
</mx:LineSeries>
This will set alpha for the entire stroke to .8
But I want...
I want to use an alpha mask in OpenGL so that white(1)=visible and black(0)=hidden.
So what I do is I write something in the alpha component of the framebuffer using glColorMask(False, False, False, True) (I'm using python, you see) and then draw some geometry above it using blending.
But it isn't working:
I tried filling the alpha buf...
How does one go about using a alpha blending formula to achieve the src rgb color from the resultant of the 2 blended together
...
Hi, I'm trying to take my gl buffer and turn it into a UIImage while retaining the per-pixel alpha within that gl buffer. It doesn't seem to work, as the result I'm getting is the buffer w/o alpha. Can anyone help? I feel like I must be missing a few key steps somewhere. I would really love any advice on this.
Basically I do:
//Rea...
I have a texture with transparency (the white triangle with that lighting information), and just can't make it's alpha variable.
The drawing code, with the missing piece:
//Place polygon vertices to the bottom left within the view.
glLoadIdentity();
glTranslatef(centerX, centerY, 0);
//Draw "diffuse" layer.
glBindTexture(G...
I have two BitmapData objects with alpha channels. I'd like to combine them into a single one by using max(channel_image_one, channel_image_two) for each channel, including the alpha. Is there an easy way to achieve this result?
...
System.Drawing.Graphics.DrawImage pastes one image on another. But I couldn't find a transparency option.
I have already drawn everything I want in the image, I only want to make it translucent (alpha-transparency)
...
I am new to iphone development. I am displaying my content in grouped table view. I want to change the alpha value of the first group of my table only. How can i achieve that. Please help me out. Thanks.
...
im drawing a bunch of tiles on a Canvas, these tiles are represented by either Images or BufferedImages.
i noticed that im getting millisecond draws with Images but what i start using BufferedImages for the tiles the frame time sky rockets to above 20ms.
BufferedImage buffered = ImageIO.read(new File(fileName));
Image image = Toolkit.g...
Here is my problem :
I have a Sprite covering the entire screen.
Other than a certain rectangle of this sprite
I want the rest of the sprite to have alpha = 0.5.
And for that particular rectangle, I want alpha = 0.
Is it possible? How?
...