transparency

How to set QListView Opacity ,setWindowOpacity dosn't work

Hi im trying to set opacity to QListView , that sits on QDialog i mange to set the QDialog transperant with setting the :Qt::WA_TranslucentBackground = true but the QList doesn't become transparent with i set the setWindowOpacity to 1 or 0 ...

How to set a key binding to make Emacs as transparent/opaque as I want?

I want to have a command in Emacs to make it as opaque/transparent as I want (refer to the fabulous question that pointed out that transparency is possible in Emacs, and the EmacsWiki page linked there which has the code I am using below). The EmacsWiki code sets "C-c t" to toggle the previously set transparency on and off: ;;(set-fram...

IE6 transparency+radio button can't be clicked

IE6: when I place a partially transparent image in a div, the radio buttons in that div that overlap the non-transparent pixels of the image become unclickable. Example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en...

how to see oneself edges using java3d transparency

When setting an object's transparency on in Java3D, I cant see the other objects through that object but I can't see this very object geometry through it. Is that possible ? (example: I have a transparent cube that is lit a way that the faces have different colors, however, I can only see at most 3 faces of the cube at the same time) ...

AWTUtilities.setWindowOpaque is causing some text painting issues

I am attempting to create an opaque JWindow with antialiased rounded corners. In doing so, I call the method: AWTUtilities.setWindowOpaque(this, false); And use a custom JPanel which paints the actual rounded corners. Within the window, I have a JList. Whenever setWindowOpaque is set to false, the text within the JList becomes "disto...

QT Transparent Layout

Hello, I am using a vertical layout (QVBoxLayout) to manage buttons. I would like to make its background color as 50% black transparent. Is it possible ? sw ...

iPhone transparent images rendering poorly

I'm developing an iPad application. I have been provided with a PNG image that contains some transparency - basically a drop shadow. The problem I'm having is that this is rendering poorly within the application, both on the device and in the sim. I've made up some samples to illustrate. The first is how the image appears in the PSD (co...

Semi-transparent custom layout panel

I have built a semi-transparent custom layout panel in WPF by setting the Opacity value of the panel to 0.5. Everything works as expected, except that the children of the panel are also semi-transparent! What do I need to change to have the children of the panel rendered without transparency? Here's the relevant code: public class Di...

How to create a translucid/alpha-transparent rectangle using wxpython?

Hello, I have a wx.panel and I want to put a translucid rectangle on a part of it. How can I do that using wxpython? Thanks in advance :) ...

Nontransparent child in transparent parent

Hello, I have transparent div-block in html. There is another child blocks in it. Is it possible to make that child divs untransparent? ...

PNG composition using GD and PHP

I am trying to take a rectangular png and add depth using GD by duplicating the background and moving it down 1 pixel and right 1 pixel. I am trying to preserve a transparent background as well. I am having a bunch of trouble with preserving the transparency. Any help would be greatly appreciated. Thanks! $obj = imagecreatefrom...

Does pngfix only affect images in the markup vs in the css?

I have a sprite that I'm using for rounded corners. The left corner sits on top of a gradient background, but the right corner sits on a white background. I don't want to have to put the images on the page as I'd rather have them in a sprite and just move the placement through the background property. Will something like pngfix not wo...

NETCF - Displaying custom shaped form in compact framework

Hi guys, I am developing some small little application that sits on the screen and on top of all window and flies around the screen, could be a bird or a butterfly or a fish. But I have a little bit of problem. How do I redraw the background without my images included? or how do I copy the background (not the wallpaper) behind my form...

Build turns partially transparent image pixels black

I'm very new to C# and I've run into a problem and haven't been able to solve it. I have a row of buttons that have .png images assigned to them. The images are in .png format to allow transparency, and smoothing the edges in GIMP leaves some semi-transparent pixels. I've set the Image List Toolbar (imglToolbar)'s properties to recogn...

Determine if Alpha Channel is Used in an Image

As I'm bringing in images into my program, I want to determine if: they have an alpha-channel if that alpha-channel is used #1 is simple enough with using Image.IsAlphaPixelFormat. For #2 though, other than looping through every single pixel, is there a simple way I can determine if at least one of the pixels has an alpha channel tha...

32 bit color version of TImageList for Delphi 7.

I'm hoping someone knows of an enhanced TImageList for Delphi 7 that supports 32 bit (alpha channel) bitmaps (for a TTreeView). Ideally free . Or perhaps how to extend/configure the stock TImageList to handle the alpha channel properly in 32 bit color bitmaps. ...

IE8 not rendering transparent pngs correctly -- never happened before

I've never had a problem before with IE 7 or 8 and transparent PNGs until now. I don't know if it's Photoshop or Fireworks that is possibly messed up. I really don't know what else to say.. here is the link: http://michaelpstone.net/mannelaw It's the three fading images on the home page. My only guess is that it has to do with the ...

Display PNG with alpha channel in C#

Is there a way to properly display an image with alpha channel (let's say PNG) in C# application? Thank you for any suggestions. UPDATE: OK, my question was a bit unprecise. I'd like to acquire real transparency of alpha channel - not filling with the parent's background color. In the image below we can see that the transparency is sup...

Transparent Background

How can i make the background 50% transparent? Let's say the background of an AbsoluteLayout so it's dark but you can still see through it? ...

What is the correct way to perform alpha blending? (C)

Hi, I'm writing a very simple graphics library, and I'm trying to figure out how to do alpha blending. I tried it a few times, but my results were less than satisfactory. According to Wikipedia, I should do: Value = (1-alpha)*Value0 + alpha*value1 This, however is not working at all. Maybe I'm doing something wrong? The code I've inc...