png-24

How can you tell png8 from a png24

Hi guys, I'm working on a website that uses lots of png24 files, for transparency. I need to replace them with png8 files, as all the png fix style javascript workarounds for png24 cause IE6 to lock up randomly. See this link to get an idea of the symptoms IE6 displays - http://blogs.cozi.com/tech/2008/03/transparent-pngs-can-deadloc...

How many bits per component do I have to specify for pngcrunch-optimized 24bit PNG files with alphatransparency?

CGBitmapContextCreate takes an parameter that's not very obvious to me: For example, for a 32-bit pixel format and an RGB color space, you would specify a value of 8 bits per component. I have created 24-bit PNG files with alphatransparency, and added them to Xcode. At compile time, Xcode optimizes those PNG tiles with pngcru...

Just in theory: How is the alpha component premultiplied into the other components of an PNG in iPhone OS, and how can it be unpremultiplied properly?

Actually, I thought that there would be an easy way to achieve that. What I need is pure alpha value information. For testing, I have a 50 x 55 px PNG, where on every edge a 5x5 pixel rectangle is fully transparent. In these areas alpha has to be 0.Everywhere else it has to be 255. I made very sure that my PNG is created correctly, and i...

How can I tint transparent PNG files in PHP?

I have a transparent PNG image. The transparent areas need to remain completely transparent, but the other areas need tinting with a particular hue. What's the best way to do this using GD? Cheers, James ...

PNG8+Alpha from Fireworks (colormap) are different/smaller than from elsewhere (RGBA). Why?

In Fireworks, when you export a PNG8 file with alpha transparency, the resulting file will be something like this: png8-fireworks.png: PNG image data, 500 x 500, 8-bit colormap, non-interlaced If you convert a 32bit PNG using other tools (PNGOUT, Smush.it) the result looks like this: png24-smushit.png: PNG image data, 500 x 500, 8-b...

Sprite/PNG graphics-heavy site, oh my!

I need to create a site that is very graphics-heavy (torn paper backgrounds with transparent shadows over textured graphics, etc.) One way that I was thinking of saving on file size was to drop all my background elements into one PNG. The issue is that this file is now 180k. If I break it up into various GIFs and a couple PNGs then it ...

Transparent background png image issue in IE6

background image of type PNG is not transparent in ie6 ...

alpha transparency solution in IE

I am building a website with a TON of png-24 files that have transparent background. In IE 6 they obviously aren't displayed correctly, so I need some sort of reliable, good solution that will fix the PNG problem in IE and require little work and be reliable. Any good ideas? ...

Java ImageIO: Can I convert a PNG-24 file to PNG-8?

The scenario is this: Users of the webapp can customize the website by choosing their own logo image, background colors and background images. Problem is that IE6 does not support transparent PNG. I've tried several client-side solutions, but all fall short on one aspect or the other (most don't support the css property background-repea...

iPhone Tab Bar Control Icon Problem

Hi, I have a problem using icons with the tab bar control and I don't know to fix. The icons I'm using are png format 24*24. They have a grey gradient background with a black shape in the middle. The problem I have is that only the background gradient shows. The Black shape in the middle does not. Have I Used the wrong format or somet...

PHP Watermarking - Zubrag

I'm using zubrags PHP watermarking script (attached below) and it works great except when I try and use a PNG-24 as my watermark. The resulting image has a garbled, non-transparent watermark. I'm wondering if anyone could help explain what I would need to alter in the script below so that a PNG-24 embeds as a proper watermark on the im...

Types of PNG image in iPhone app

I have an iPhone app that picks images from my internet server. It picks images with png extension but only PNG-24 is workings. The problem is that PNG-24 need some disk space and internet bandwith in iphone. I tried using PNG-8 but the iphone does not recognize it. Someone knows if I have a way to use PNG-8 into my app? Thanks! ...

How to make inline png <img> transparent using css?

How to make inline png transparent inside div? using css <div id="report'> <p> some text </p> <img src=transparent.png" /> </p> </div> this is image for example . Other than ball i want to make transparent other white area. Which is looking grey in IE6 I want to do in css like this div#report img {.....} is it possible? Edit: ...

Using CSS, can Google Chrome create an alpha channels effect similar to a 24 bit PNG?

You can make some cool tricks using a 24 bit PNG, which has a gradient from opaque to completely transparent. Elements sliding beneath this PNG will appear to disappear whilst fading. Is this possible using CSS only with Google Chrome? I only have to target this browser. I'd like to avoid a slice of 1px tall elements with varying opaci...

problems using fadeIn and fadeOut in jQuery with .PNG's inside a jQuery gallery

As some may know, IE 5.5+ has considerable problems handling .PNG's, whether it be displaying them, fading them in and out, etc. The problem that I am having is how to integrate the IE progid filter fix inside a jquery gallery that I'm using authored by a developer by the name of Jeffrey Fry. The fix is as follows grabbed from anothe...