Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Transparency (https://forums.graalonline.com/forums/showthread.php?t=86425)

cbk1994 06-19-2009 04:37 PM

Transparency
 
Pure white and pure black SHOULD NOT act as transparency. It's very annoying, and as far as I can tell, no one uses it as transparency.

It should at least not apply to PNGs.

DustyPorViva 06-19-2009 05:23 PM

It is :/

I've brought this up multiple times, and that sort of compatibility is just not needed anymore.

Inverness 06-20-2009 04:19 AM

I think magenta should be the transparent color. But you can use 32-bit PNGs you know.

cbk1994 06-20-2009 04:44 AM

Quote:

Originally Posted by Inverness (Post 1500411)
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:
http://img19.imageshack.us/img19/4161/8bitz.png

and the same image in 32-bit:
http://img19.imageshack.us/img19/3500/32bit.png


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

Inverness 06-20-2009 05:21 AM

Quote:

Originally Posted by cbk1994 (Post 1500414)
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.

I'm quite familiar with the difference between 32-bit and lesser bit PNGs, and the reason I want a new transparency color is so you can use smaller PNG formats and save disk space. There is no reason to be using a 32-bit PNG when your image has few enough colors than an 8-bit PNG would suffice and save disk space.

cbk1994 06-20-2009 05:35 AM

Quote:

Originally Posted by Inverness (Post 1500423)
I'm quite familiar with the difference between 32-bit and lesser bit PNGs, and the reason I want a new transparency color is so you can use smaller PNG formats and save disk space. There is no reason to be using a 32-bit PNG when your image has few enough colors than an 8-bit PNG would suffice and save disk space.

.... do you understand how a PNG works?

PNGs already support transparency (INCLUDING 8-bit ones), there's no reason to add a "transparency color".

DustyPorViva 06-20-2009 05:44 AM

I don't see much harm in using magenta. Anyone using that color in any situation other than for transparency purposes should be burned at the stake.


All times are GMT +2. The time now is 04:19 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.