Thread: Transparency
View Single Post
  #4  
Old 06-20-2009, 04:44 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Inverness View Post
I think magenta should be the transparent color. But you can use 32-bit PNGs you know.
There shouldn't be any transparent color. It's stupid to replicate functionality that PNGs already have.

32-bit PNGs work, but the file size will increase, even if you only use two colors or so.

For example, here's an image in 8-bit:


and the same image in 32-bit:



The 8-bit image is 347 bytes. The 32-bit one is 1,420 bytes. A 24-bit is 1,234 bytes (I won't bother posting that image).
__________________
Reply With Quote