transparency

OpenGL alpha transparency

Hey everyone, I am starting to use opengl and I wanted to try alpha transparency. Here's my code: void display(void); int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE|GLUT_RGBA); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable( GL_BLEND ); glutInitWindowSize(600,...

PNG losses transparency when used as a link.

I have an image over a table that has been style with CSS. When I have my image on the table without a href it is fine, once I apply an href the transparency is no longer working. Any way around this? Table css table.list_data { background-color:#F3F3F3; border:1px outset #A1A1A1; border-collapse:collapse; border-spacing:2px; font-fami...

alpha channel in latex colortbl

I'm using the colortbl package to color table cells. I've combined this w/ the xcolor package to define my own colors. However, it appears that xcolor does not support transparency. I saw the package transparent, but it is oriented toward text and I wasn't able to set the transparency level of a defined color. Are there any packages ...

Create a fully transparent WPF window to capture mouse events

I'm trying to trap mouse events in WPF by using a topmost, transparent non-modal window. I'm finding that this works fine if the opacity of the window is 0.01 or greater and it has a background color, but when the opacity is set to 0 it no longer receives mouse messages. Is there a way make this window look fully transparent and still ...

Adobe Flex Transparency not working on Button icon

I am fairly inexperienced with Flex, but my googling has retrieved nothing to suggest this is an obvious question. I have an mx:Button with an Icon on it that is a png file with a transparent background, as below, however the transparency is not working, and the icon is painted with a white background. <mx:Button label="Button" icon="@...

What is the proper way to use GFX rotozoomSurface with SDL for drawing transparent sprites?

I'm using the latest SDL/GFX libs on Fedora 10 and I'm trying to render a PNG or GIF image onto the screen surface. I could not get transparent PNG's to display at all so I replaced the transparent parts or my sprite with all white (and tried Magenta 255,0,255). The white-transparent PNG displays fine using this code: SDL_Surface *image...

WPF ContextMenu Design. How to set Background in WPF MenuItem?

I create popup menu like this. <DockPanel.ContextMenu> <ContextMenu Background="#CD252220" Opacity="0.95" Foreground="LightGray" BorderBrush="DarkGray"> <MenuItem Header="_Save Image..." x:Name="btSave" IsEnabled="False" Click="btSave_Click" Style="{StaticResource MyStyle}"> <MenuItem.Icon> <Image...

How to make an image as transparent in BlackBerry?

I am new to BlackBerry Java application development. My scenario is: In my application a gallery list of images will be displayed in a small icons. If I click on any image it will display in a large mode. Here I need to provide controls like front and back buttons. On clicking on those buttons the background image should change. In addit...

Question about ActiveX transparent objects and handling clicks

I am trying to make an ActiveX control work in my program. The component (UserControl) has transparent boxes on it and the control itself is transparent, so it can overlay an image. I put boxes on it so the user can click in the box and go to another screen based on the group from the main image they picked. But it doesn't recognize the...

Can Silverlight play videos with transparency?

Can Silverlight play video with transparency? At least some tricky way for color keying with C# or HLSL? So if you know any way how to please post some info. If yes. What do I need? MSDN if there is any help on this. Open Source Libs/wrappers. Tutorials and blog articles on How to do it. If no: I need know where did you get th...

How to do smooth Alpha chanel keying with Silverlight 3 Pixel Shaders?

How to do smooth Alpha channel keying with Silverlight 3 Pixel Shaders? I want some HLSL filter (like this Shazzam HLSL example) sampler2D implicitInputSampler : register(S0); float4 main(float2 uv : TEXCOORD) : COLOR { float4 color = tex2D( implicitInputSampler, uv ); ...

PNG transparency in Interface Builder

I'm adding an Image View in Interface Builder with a transparent PNG (A logo in the Navigation Bar) but the transparent pixels seems to render as white.. I searched for PNG in Interface Builder but no luck. any tips? ...

How to make transparent background of Silverlight 3 application?

How to make transparent background of Silverlight 3 application? I have the next code but it does not work ( <html xmlns="http://www.w3.org/1999/xhtml" > <!-- saved from url=(0014)about:internet --> <head> <title>BGtest</title> <style type="text/css"> html, body { height: 100%; overflow: auto; } bo...

Transparent PNG as Background Image

Hello, I have an element with a transparent png as its background image - it's like a polaroid with the photo bit cut out so just the frame is showing. With this as the background I then want a standard image to sit behind the element that has the transparent png background - to fit inside the frame. i've tried setting z-indexing and ...

jQuery cycle plugin with transparency in IE

After much searching I managed to find these two Cycle plugin options to allow for transparency in Internet Explorer cleartype: true, cleartypeNoBg: true, The problem I'm getting now is a black block thing around the image that appears during the bounce transition than gets removed once the transition is complete and the image is sittin...

Transparent background for a control

I'm developing a winforms application (using .NET 3.5) In a form I have a panel control ,and a datagridview control inside of it . I want to have some control ( let's say for the simplicity - a label) to appear in front of the datagridview , and I want this label to be transparent - which means : I want to see the data displayed in th...

Making a TextBox Transparent

Hello, I have a TextBox in my Form that I want to let it be tranparent and show a picture that is in a PictureBox, behind it, but how I can do this? Thanks. ...

PHP GD PNG - Transparent text is pretty rigid

I'm using a PHP script that I found a while back that lets you specify text in a GET variable and it will convert it to a transparent PNG. This allows me to use non web safe fonts in my websites without having to manually convert each piece of text to an image. I've run into a slight problem, though, as seen here: http://imagebin.ca/vie...

Draw an image with custom transparency in GDI+

I'm drawing lots of images (all of them dimensions=24x24 pixelformat=32BppPArgb) onto a Control using a Drawing.Graphics object and the DrawImage() function. It's possible to zoom out in my application which means that the Graphics object has a Transform Matrix attached to it which controls both zooming and panning. There's no point in ...

Hex colors: Numeric representation for "transparent"?

I am building a web CMS in which the user can choose colours for certain site elements. I would like to convert all colour values to hex to avoid any further formatting hassle ("rgb(x,y,z)" or named colours). I have found a good JS library for that. The only thing that I can't get into hex is "transparent". I need this when explicitly d...