transparency

how to determine the transparent color index of ICO image with PIL ?

Specifically, this is from an .ico file, so there is no "transparent" "info" attribute like you would get in a gif. The below example illustrates converting Yahoo!'s favicon to a png using the correct transparency index of "0", which I guessed. how to detect that the ico is in fact transparent and that the transparency index is 0 ? i...

how-to do Crossplatform transparent windows in c++?

Hello, I'm woundering how to make a window transparent, not cutout holes or the same transparency overall. Well, just say I wanna slap a PNG-picture of a rose or something and have it blend nicely with stuff in behind and allow stuff behind to redraw and have their changes shine throught the transparent parts of the picture/window. I c...

How do you completely remove the button border in wpf?

I'm trying to create a button that has an image in it and no border - just like the fire fox toolbar buttons before you hover over them and see the full button. I've tried setting the borderbrush to Transparent, BorderThickness to 0, and also tried BorderBrush={x:NUll} - but you can still see the outline of the button. Any ideas? Than...

Transparency in PNG recognized in some apps but not others

I have a png image, which you can see here: http://img10.imageshack.us/img10/9145/archer5.png The background of the sprite is transparent, I see this on all my browsers and in infranview (which I used to create this), and gimp and windows explorer. However in Photoshop, Paint, and most importantly PHP GD there is a solid background. C...

Reshaping the "glass" in Windows Vista

In Windows Vista, all standard window borders are translucent with some sort of a glass distortion effect on whatever is under them. This glass effect can permeate other areas of the window--such as surrounding the address and search bars in Windows Explorer or the playback controls in Windows Media Player. What if I want to do this in m...

Getting Transparent PNG to work in IE 6 in img tag

Hi, I have a png with transparent background that doesn't work in IE 6. I have gotten round the problem by replacing the few img tags using that image with a DIV, and in CSS I use: #div {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./Images/img.png")} the problem I have with this is that I then lose alt and title a...

PHP/GD ImageSaveAlpha and ImageAlphaBlending

I'm using GD to resize and convert images, however during my tests I found a weird behavior when converting transparent PNG's to JPEG's. According to the manual ImageAlphaBlending() is on by default but in order to preserve the transparency I must set ImageSaveAlpha() to true (which in turn requires that I set ImageAlphaBlending() to fal...

How to dynamically add transparency to iPhone image?

Suppose I have image canvas or previously loaded image which supports transparency (gif/png). What are the steps to implement changing transparency for the image, but not for the whole image, but only a part of it? I undestand I should use CGContext, but i'm lacking the details. ...

Transparent iframe ontop of pdf in iframe

I have found the technique of putting iframes on top of an iframes to get round the z-index problem browsers have with iframes. The problem I am facing now is I need the the iframe that overlaps a PDF (loaded into an iframe) to be transparent. Is this possible?? The reason I want to do this is so I can have a transparent png over the t...

Iphone Keyboard Transparency

First I'm so newb to iPhone dev and I'm sorry if this is easy. Is it possible to change the amount of transparency on the iPhone keyboard (or even the color if that's possible). I know you can acquire a reference to the keyboard view (link provided) http://www.iphonedevsdk.com/forum/iphone-sdk-tutorials/7350-adding-subviews-custimize-k...

Transparent windows with Linux

I am trying to find a cross linux distribution solution to the problem of making a program have transparent windows. I now there is some methods out there, that take screen shots of the windows underneath and then print them as the background of the image. I would prefer not to uses that method because it likely that i would have video...

How to pick a color to make transparent in images?

First question, please be gentle ;-) I've written an image class that makes simple things (rectangles, text) a bit easier, basically a bunch of wrapper methods for PHP's image functions. What I'm trying to do now is to allow the user to define a selection, and have the following image operations only affect the selected area. I figured ...

Change window transparency in PyGame.

I want to change the transparency of a PyGame window. I don't nessicarly need to do this from PyGame as I already have an Python extension called wm_ext which controls the window which PyGame creates (it also initalizes PyGame). So, with this extension, I've got the window handle, I just need to know how to change the window transparen...

transparent png over jpg problem in IE7

I have jquery hover function which a transparent image will animate up. The following website http://www.okadadesign.no/vitaveritas/ shows a demo. Please hover over a girl's image. In FF, IE8 etc, a magnifying glass which is png-24 comes up, but in IE7, nothing happens. Can anyone help me how to solve this problem? Thanks in advance. ...

Create a transparent div over a td or tr element

Hello, I have a table and I would like to be able to set up a transparent div over the entire row to show that it is inaccessible at the moment. Here is my a row from my table: <tr id="post_1998"> <td id="post_1998_image"> ...content... </td> <td class="description"> ...more content... </td> <td class="buttons"> ...even ...

Merging JPGs with GDI in C#

My scenario: I have one color background image JPG. I have one black text on white background JPG. Both images are the same size (height and width) I want to overlay the image with black text and white background over the color background image, i.e. the white background becomes transparent to see the color background beneath it. Ho...

Aligning a transparent PNG over same-colored CSS background

My idea is that a PNG overlaying some text, with transparency ranging from 0% to 100%, all colored in the same color as the CSS background, would fade out the text underlying it. Turns out the transparent PNG is visible also in the areas where it's supposed to be transparent. Also, the colors of the PNG and the CSS are not the same - ev...

AS3 Loader ignoring .png transparency

In Flash CS4, open a new document, change the background colour to something recognizeable (like magenta) and add the following code: var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event){addChild(e.target.content);}); loader.load(new URLRequest('newsnakelub8.png')); ... replacin...

AS3: copyPixels - Maintaining Transparency On Multiple Copies

I need to copy multiple images with transparency to the same BitmapData without the overlapping images' transparencies overwriting the existing pixels. By default when you use the copyPixels method on a BitmapData with transparency to a BitmapData without transparency, the images layer like I want. The issue is I need to render to a Bit...

How to create transparent mutable Image in JavaME?

Is there any way of creating transparent mutable images in JavaME (CLDC 1.1, MIDP 2.0) ? public static Image createImage(int width, int height) Creates mutable image but not transparent one (at least not on Nokia phones!) Any other Image.create* creates immutable immages and I don't know any way of creating mutable image from immutab...