Questions tagged [png-24]

For questions about PNG24 files, which are PNG files with RGB (8 bits per color) and optional GIF-style transparency.

A subset of possible png files. PNG24 files are RGB (8 bits per color) PNG files with either no transparency or only binary GIF-style transparency in which one color is named to be fully transparent. In the PNG specification these are called 8-bit, color-type 2 PNG files.

31 questions
71
votes
6 answers

What is difference between png8 and png24

I want to know about uses of png files. There are two formats available for png images; one is png8 and the another one is png24. I would like to know that if I use either type in my html page, will there be any error? Or is this only quality…
Kesar Sisodiya
  • 1,564
  • 2
  • 15
  • 25
9
votes
1 answer

png-24 and Browser Support

Should I use png-8 or png-24 in my website? Do most websites still use png-8 or is browser support good enough that I can safely use png-24? I have some jquery sliders, I don't know if that makes any difference or not.
Laxmidi
  • 2,650
  • 12
  • 49
  • 81
5
votes
1 answer

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…
alex
  • 479,566
  • 201
  • 878
  • 984
5
votes
7 answers

How can you tell png8 from a png24

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…
Chris Adams
  • 2,721
  • 5
  • 33
  • 45
4
votes
1 answer

iPhone Tab Bar Control Icon Problem

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…
dub
  • 61
  • 2
  • 4
4
votes
5 answers

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…
JCHASE11
  • 3,901
  • 19
  • 69
  • 132
4
votes
2 answers

CSS background of png with semitransparancies transparant on a gradient shows a white background

if you look at this fiddle( http://jsfiddle.net/5ajYD/ ) with an android browser you see that the PNG that makes up the flowers has a white background. On all other browsers it shows perfectly normal, except the android browser. I've googled on this…
Tschallacka
  • 27,901
  • 14
  • 88
  • 133
3
votes
2 answers

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
James Hall
  • 7,507
  • 2
  • 22
  • 15
3
votes
3 answers

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…
Thanks
  • 40,109
  • 71
  • 208
  • 322
3
votes
1 answer

Java Applet Transparency background

I am developing a Java applet which uses PNG-24 for icons. These icons are transparent but they simply refuse to be transparent in the app. The background always ends up white. Is anyone familiar with this are and can give any pointers? Thanks…
Mathias Online
  • 188
  • 1
  • 6
3
votes
2 answers

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…
Dan
  • 9,912
  • 18
  • 49
  • 70
2
votes
1 answer

Convert 32bit PNG file to 24bit PNG file

How to convert 32bit PNG file to 24bit PNG file using PHP. btw I am using Codeigniter, and planning to host files at Dreamhost. Thanks!
2
votes
0 answers

keyup(), change(), events issue on IE8 (load image works only one time)

am front of a problem on IE8. (not tested on IE9) this is my little programm with some HTML + Jquery a picture worth a thousand words you can take a view here http://twixtop.lescigales.org/color/ i need five folders A B P C D actually when you…
twixtop
  • 21
  • 2
2
votes
2 answers

How to tell if image is PNG24 or PNG8 and the number of bits and channels?

I am trying to distinguish PNG-8 and PNG-24 images with getimagesize or Imagick, but I don't quite know how to to it. getimagesize does not return channels for my PNGs and displays the mimetype instead. It works well for other images and shows the…
shapeshifta
  • 300
  • 5
  • 16
2
votes
0 answers

How can you tell whether the file you've downloaded in PNG-8, PNG-24, or PNG-32?

I'm trying to download a picture off the net, and I'm saving it as a png file (image.png). How can I tell whether the image is a PNG-8, PNG-24 or PNG-32 file (is there a default?) and is there anyway of changing the file type to one or the other?…
the12
  • 2,395
  • 5
  • 19
  • 37
1
2 3