transparency

Is it possible to render web content over a clear background using WebKit?

I'm trying to gauge the possibility of a patch to WebKit which would allow all rendered graphics to be rendered onto a fully transparent background. The desired effect is to render web content without any background at all, it should appear to float over the desktop (or whatever is displayed behind the browser window). Has anyone seen ...

What strategies can a layman use to measure the development process?

Hi, I'm consulting at a traditional business that has almost zero understanding of software development. They are justifiably concerned about how to measure our progress, & productivity and are currently looking for way to measure this. Obviously, I'm concerned they will adopt some easy to measure, but bogus strategy. (ie: Lines of C...

How to make a surface with a transparent background in pygame

Can someone give me some example code that creates a surface with a transparent background in pygame? ...

Creating custom transparent control

Hi all, I am trying to create a custom control that displays a bitmap with per-pixel alphablend (as some of you already know for other questions). Right now I am using a custom control in the resource editor and I attach it to a class derived from CWnd. When I register my custom class I set the hbrBackground of the WNDCLASS structe to ...

Simple transparency example not working in Java 3D

Hi all, I'm a complete n00b in j3d (but an expert in Java). Just starting out, I'm running into a problem playing with transparency. I've got a simple example which draws a rotating planar quad (disappears when showing the back face because I haven't disabled backface culling). With the Color3b and COLOR_3 lines uncommented (and the co...

What makes user interfaces appealing to you?

This is a question for anyone that has dealt with UI's or has a passion for UI's. There are numerous good user interface designs. Ranging from the iPhone UI (Black transparency w/blue highlights), to Windows XP (Blue and green fisher price), to Mac OS X (Blue/Grey matte), to the colourful World of Warcraft UI. What makes one user inter...

Setting the parent of a usercontrol prevents it from being transparent

I've created a simple user control which is manually created with something like MyUserControl ctrl = new MyUserControl(); The control have been designed to have BackColor = Color.Transparent and that works fine, until I set the Parent of the control to a form at which time it turns into the color of the form. Might sound like its tr...

How do you properly detect the browser's support for opacity?

I've got some javascript code that applies an alpha transparency. Before it does that it attempts to detect what type of transparency the browser supports and stores that in a variable for use later. Here's what the code looks like: // figure out the browser support for opacity if (typeof br.backImg.style.opacity != 'undefined') op...

PNG TrayIcon transparency on Windows

I'm trying to use a transparent PNG as the icon for my Java application. The image on the JFrame and task bar work great. However, when I use the image with a TrayIcon, I get a black matte background around the edge of the PNG. Has anybody else come across this issue? I would really like to use a PNG instead of GIF or JPEG. ...

WPF changing button background color when the window is disabled

I have a button with a transparent background on a wpf window. Problem is, when I open up another window with a .showdialog the form becomes disabled as does the button, causing the button to go white (and stick out like a sore thumb); the same happens to the listview and textbox controls. Labels and group boxes aren't impacted in this...

Transparent images with C# WinForms

I am working on a Windows Forms application in VS 2008, and I want to display one image over the top of another, with the top image being a gif or something with transparent parts. Basically I have a big image and I want to put a little image on top if it, so that they kinda appear as one image to the user. I've been trying to use a pi...

Is it possible to make text translucent in wxPython?

I am adding some wx.StaticText objects on top of my main wx.Frame, which already has a background image applied. However, the StaticText always seems to draw with a solid (opaque) background color, hiding the image. I have tried creating a wx.Color object and changing the alpha value there, but that yields no results. Is there any way I ...

Converting transparent gif / png to jpeg using java

I'd like to convert gif images to jpeg using Java. It works great for most images, but I have a simple transparent gif image: [In case the image is missing: it's a blue circle with transparent pixels around it] When I convert this image using the following code: File file = new File("indexed_test.gif"); BufferedImage image = ImageIO...

Can a non-rectangular transparent flash object over an applet still allow the applet to "show through"?

I have a page with two iframes - a background picture + an applet a Flash swf with WMODE set to transparent. The Flash object draws a non-rectangular shape. Both iframes have "allowtransparency" set to "true". Positioning for both iframes is set to "absolute", and I've set up the Flash object to be on top of the applet. In FF3 ...

Create a semi-transparent cursor from an image

Is it possible to create a cursor from an image and have it be semi-transparent? I'm currently taking a custom image and overylaying the mouse cursor image. It would be great if I could make this semi-transparent, but not necessary. The sales guys love shiny. Currently doing something like this: Image cursorImage = customImage.GetThu...

CSS opacity within an image

What's the best way (if any) to make the inside box transparent so the image can be seen with no opacity (clear image) and the rest of the outer box opaque. So far this is what I'm doing: <style> #a { background-color: black; float: left; } #b { opacity : 0.4; filter: alpha(opacity=40); } #div { position:absolute; h...

WPF app with transparent windows and remote desktop causing popunders

I have a WPF application with AllowsTransparency="True" because we like funky borders. When I remote desktop into a computer and run our application, menus and right click menus in textboxes are popping up behind the application. I verified this by making the background semi transparent. Here's a screen shot: We're using .net 3.5 SP1...

Which is superior, CSS transparency or PNG Transparency?

Should I use PNG transparency or CSS transparency? My first instinct is to go with CSS. However I heard somewhere that the filter in IE is slow and that I would get better results with PNG (ignoring IE6). However from personal experience I know that PNG transparency is slow in FF3. Is there a definite answer to this? Thanks. ...

Flash Transparency: Does it work reliably in anything other than IE? Are there workarounds?

I've been given a site layout and a flash navigation to incorporate which requires transparency. However, using wmode='transparent' the results are highly inconsistent across browsers using the latest Flash 10. In IE7 the sample page works perfectly fine. In FireFox3 (Win) the colors are incorrect in the flash. In Safari/FF3 (Mac) the ...

Drawing a Translucent .png in AWT

I'm trying to draw a transparent.png image over a TV signal (so blending before rendering is kinda out). When I was drawing a transparent rect, I could just set SrcOver and specify an alpha for my background color and it would work: ((DVBGraphics) g).setDVBComposite(DVBAlphaComposite.SrcOver); But now I'm actually trying to use a png...