png

How can I make the CSS opacity property work with png images in IE6?

This code works with IE 7 and above, but not with IE6: img.myclass{ opacity: 0.5; filter: alpha(opacity=50); } What should I add to my code? Thanks ...

Converting CVImageBufferRef to PNG

Hi, I want to write all frames to disk using QTKit.framework for camera input. But all the images I get are half transparent and without some colors, maybe colorspace problem? ;( They seem good in the preview View but when I write them "something" happens. I wonder what it that. -(void)savePNGImage:(CGImageRef)imageRef path:(NSString *)...

IN IE6, how to position transparent PNG using filter?

I have following CSS: background-div: url(/images/top.png) no-repeat top center; and I am using the following filter for IE6: ( Transparent PNG Hack) filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='/images/top_arrow.png',sizingMethod='scale'); How can I add the background position (i.e. top center) to the filter...

Android 2.2 distorts picture colors?

I have some .png files in my app. I need to load these during runtime, and get the exact colors of certain pixels from them. It's important, that I do not want to scale these pictures. I don't show them on the UI directly, they serve as maps. Now, on Android 1.5, there's no problem with this. I put these images in the '/res/drawable' di...

How to create PNG thumbnail if "imagecreatefrompng()" fails ?

I start to create a PNG thumbnail by using this function: $image = imagecreatefrompng("http://imagenic.net/images/pfujz9j5juav1qrex00.png"); However, it says: 'http://imagenic.net/images/pfujz9j5juav1qrex00.png' is not a valid PNG file It works OK with other PNG images, so I guess something is wrong with this specific picture. Wha...

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