transparency

Creating a transparent window in C++ Win32

I'm creating what should be a very simple Win32 C++ app who's sole purpose it to ONLY display a semi-transparent PNG. The window shouldn't have any chrome, and all the opacity should be controlled in the PNG itself. My problem is that the window doesn't repaint when the content under the window changes, so the transparent areas of the P...

How to make MapView object transparent (alpha)?

All, I have a need to display information on a MapView object. No problems there. The issue is that there are times when the MapView object displays map details that visually compete with my overlay data. So, what I'd like to do is provide a way to "scale back" the MapView object visually by using an alpha channel. bold*Can an alpha...

How to create a quality splash screen odd shaped like VS 2010?

Hello, I've seen some neat splash screens like VS 2010, Adobe products, etc. I know in VS.NET you can set a transparency color, etc. but I have never been able to make one look nice that didn't have some type of jagged edges or color issues on the edges. For example, I could create a black circle with magenta as the transparent color ...

Drawing transparent TMetaFile on TCanvas in Delphi

I would like to draw a transparent TMetaFile on a Canvas, used for print watermark. The problem is AlphaBlend function won't recognize TMetaFile.Handle as source as it expects canvas handle. I created a 32bit bitmap with transparency but drawing on it will force white background thus on Canvas you can see an alpha blended rectangle. Ho...

export transparent images in c# ?

Hello! I've edited an bitmap in c# and for every pixel i've changed it to a certain color if a condition was true else i've set the color to Color.Transparent ( the operations were done with getPixel/setPixel ) . I've exported the image in .png format but the image isn't transparent. Any ideas why or how should i do it ? Regards, Alexa...

Transparent background, clear text?

Hey all, been banging my head against this one for a while. For a CSS redesign of a site I need a parent div to have a background-image followed by a p child with a transparent background, but foreground text needs to remain at 100% opacity. I tried making a 1px image of a semitransparent (40%) white, but it won't show up when used with...

Font and images with transparency are distorted

Hello Everybody! I faced with such problem on Huawei U8100 Device If I use SurfaceView component to draw text or images with transparecy, leads to noticeable distortion: AntiAliased text is distorted less than not AA text, but it also very hard to read it. Using of different truetype fonts has same result. All other applications,...

transparent background with 1px borders?

Is it possible to have a div tag that has 1px black borders and a transparent background, so only the borders are showing? is this possible? Any examples? A really appreciate it. Erik ...

Transparent png not showing bg image just bg color in html.

I have a logo that is a transparent png and i want to overlay it on my bg image but when i do it shows only the background color. Here is an example: I am using a modified copy of the WP theme Colourise The Css is here: http://files01.s0urc3.ismywebsite.com/colourise/style.css And the page here: http://s0urc3.ismywebsite.com/index.p...

css3 border-image's transparent png issue

I'm using border-image with a PNG image that has a transparent section. The issue is that the div has background-color set the black. When I apply border-radius, the transparent section of the pattern shows the black of the div and not the background of the element containing the div. How do I get border-radius to ignore the color of th...

Fix png transparency problem

I use this class to upload images on my server. The problem is that when I upload transparent png images, the transparent parts get black. Is there a way to keep transparency in png images? class SimpleImage { var $image; var $image_type; function load($filename) { $image_info = getimagesize($filename); $this->ima...

iPhone - UIView's backgroundColor - using a png with transparency?

I'm setting the background color of my UIView (which is within a UIViewController) as follows: myView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"myTransparentBG.png"]]; I've even tried messing with [myView setOpaque:NO]; but the image doesn't appear transparent. It has a black background to it. Am I abel to...

How to use glassPane to create transparent window?

Okay, so I want to make a Java JFrame that is transparent, but than has a the glassPane not transparent so I can make my own style of windows. can this be done? ...

Drawing non-transparent content on transparent window

So I'm trying to draw a solid red oval on a transparent window. I later want to do something more complex with multiple shapes, so using setWindowShape isn't what I'm looking for. This is the code I'm using so far: import java.awt.*; import javax.swing.*; public class JavaDock extends JFrame{ public JavaDock(){ super("This...