transparency

jquery .png crossfade script fails on IE7/IE8

Im trying to get two alpha-24 transparent .png files to crossfade into each other. I started this adventure by modifying a pretty decent little script (thanks to jqueryfordesigners.com): // wrap as a jQuery plugin and pass jQuery in to our anoymous function (function ($) { $.fn.cross = function (options) { retur...

WPF Control inside a transparent winform is not displayed

I create a simple WPF UserControl (any control will do) and insert it into a Winform (using an ElementHost). This works fine. The WPF control is embedded in the WinForm and when the WinForm is moved around the WPF control moves with it just like a WinForm control will do. When I change the WinForm to transparent by setting the Tranparenc...

How to save an image as Tiff or PNG with an alpha channel or alpha mask in iPhone SDK?

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? ...

Android image transparency

How can I make certain pixels of an DrawableBitmap transparent? ...

Changing opacity for div in div - is this possible? How?

I got from web designer layout, which contains (probe): <div id="subMenuRow"> <div id="subMenuRowHTML"> <a href="/link">Link</a> </div> </div> and respectively css for it: #subMenuRow{ width: 900px; height: 40px; background: #000000; float: left; clear: both; filter:alpha(opacity=30...

Keyboard- and mouse-event transparent widget

When i click a button my main window i want it to become transparent to keyboard and mouse events, i.e. all keyboard and mouse events should pass to any windows below it as if that window is not present there. "Qt::WA_TransparentForMouseEvents" does not work here as this only make child windows transparent to keyboard and mouse events i...

How to draw & export a transparent image with Nokia Qt C++ ?

I have a piece of code intended for drawing & exporting a transparent image with Nokia Qt. However, it does not work. I always see black background with lots of noise. I must fill the background with White color but I want transparency, not white color. Please kindly advise. #include <QtGui/QApplication> #include <QtGui> int main(int a...

How to make a Google Maps semi-transparent PNG tile layer work in IE8?

I tried the following new GTileLayer(null, _minZoom, _maxZoom, { isPng: true, opacity: 0.6 }); But in IE8, while the alpha opacity works, the pixels in the PNG that already had translucence they show a grey color and standard opacity. I have noticed also that PNG files that contain alpha transparency and their transparency is not mod...

C# creating a sticking windows on desktop with transperancy

Hello all, Long title, but simple problem. I am trying to let a window stick to the destop (or pin), I can do this like this: [DllImport("User32.dll")] static extern IntPtr FindWindow(String lpClassName, String lpWindowName); [DllImport("user32.dll", SetLastError = true)] static extern IntPtr FindWindowEx(IntPtr hwndPa...

[WindowsForms] Graphics transparency on PictureBox

First of all, this is not about making the PictureBox control transparent. It's about bitmap transparency on the fully opaque "canvas". The PictureBox will always have the size of 300*300 with white background. No transparency is needed for the control. What I need is the way to draw the transparent rectangle (or whatever else) onto th...

onmouseover javascript opacity for IE8 and IE7

This is what I have so far: <img src="images/test.jpg" class="black" onmouseout="this.style.opacity=1; this.filters.alpha.opacity=100; this.style.filter='progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" onmouseover="this.style.opacity=0.3; this.filters.alpha.opacity=30; this.style.filter='progid:DXImageTransform.Microsoft.Alpha...

Javascript: Fade element from specidied opacity to specified opacity?

I am trying to find a function that can fade an element from a specified transparency to a specified transparency. For example from 0 to .7 but everything I can find just fades either from 0 to 1 or 1 to 0. I can't find anything that lets you specify from what to what. My attempts of reverse engineering the functions I have found have al...

How to re-shape form?

I have a form in an application developed using C#. In that form I have created a graphic shape (a circle). At run-time I want my form also to be of that shape only. That is, I want to display only that graphic and not the form back ground or title bar or anything. I want to display only that graphic. But the thing is I'm not able to sha...

JNA Library - Problems on Mac OS X

This is a question regarding the JNA library in a Java program. I have a tray application. "JFrame 1" is loaded at start of program. "JFrame 1" has a custom shape and has transparency. (Custom shape = ellipse) It works on Windows, Linux and Mac OS X. BUT! When I open "JFrame 2" (a normal JFrame without custom shape and transparency), ...

How to find the alpha channel transparency value of a pixel in a png image?

I have an image that has alpha channel transparency, something like the image below. http://yfrog.com/86tagsp I want to recreate the same background color with rgba values in CSS but I can not find the real color of the background pixels and their alpha channel value. if I use any sort of color picker it will give me the absolute value...

Transparent UITableView on the iPhone?

Hi, I've been trying to create a transparent table view recently but I'm not having much luck. The idea is to have a MapView (or anything for an example...) underneath the table view (grouped) where the table cells are solid but the rest of the table view is transparent, showing the map behind. What I've done so far is create a UITable...

iPhone SDK: Transparent tableviewcell isn't transparent?

I have a UITableViewController that has a background image. I am setting the image for the tableview like this: [self.view setBackgroundColor: [UIColor colorWithPatternImage: [UIImage imageWithContentsOfFile: [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: @"background1.jpg"]]]]; The problem is, each of my custom...

Implementing Actionscript Flex bitmap transparency.

I need to move a ring with a solid border over an an image. I figured I would make the ring's inner area transparent using the bitmap.threshold() method and move it over the image. However the threshold() method's sourceRect parameter is a Rectangle and I need mine to be a circle. This is the method: **public function threshold(sourceB...

Want to place several images with transparent colour on the same background

Hello! I am desparately searching for place several graphics having a transparent background on the same background with GDI+. I did not have any programming experience with Windows or graphic programming (like games) before, so it is more difficult to find a solution. GDI+ has a transparent colour. GDI+ only uses the transparency infor...

Translucent colors in Java through properties files

Hi all, Is it possible to specify a color in a properties file that has an alpha component? When I put a hexadecimal number in the properties file that has an alpha channel, the alpha is ignored. I notice that the decode method of string says "Converts a String to an integer and returns the specified opaque Color.", and that the only ...