Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: bllpla on February 16, 2012, 05:20:25 pm

Title: transparent png format
Post by: bllpla on February 16, 2012, 05:20:25 pm
Hi i have another question now about layout, why the png format trasparent is not supported on mala

thanks in advance :)
Title: Re: transparent png format
Post by: TopJimmyCooks on February 16, 2012, 08:20:08 pm
PNG transparency is not supported.  There is another way:

Transparency is based on the colour of the bottom left pixel. You don’t actually need to render out a file with transparency in it (GIF or PNG) – just make sure that wherever else the same colour as the bottom-left pixel appears, you’re happy for it to be transparent.
Title: Re: transparent png format
Post by: bllpla on February 17, 2012, 07:05:50 am
yes I know but the end result is not equal, the transparency of PNG can have shades and more
Title: Re: transparent png format
Post by: drventure on February 17, 2012, 07:56:16 am
Short answer, loadman (the dev supporting mala now) doesn't have tons of free time, and support for transparent pngs doesn't come easily out of the box with Delphi, which is what Mala is written in, so it just hasn't risen high enough in priority to allocate time to it.

Mala's not open source because of a request from the original author, as I understand it, not because of any decision by Loadman. Further, Mala uses a few proprietary libs that require purchase, which makes opensourcing it onerous at best.

I agree it'd by nice to have the alpha channel trans support that PNGs offer, but, what's there is what's there for the time being.

I hope to include trans PNG support via my Mala addin Engine18. But, I'm in the same boat, in terms of time, right now.

Do you have any specific requirements? That might help me narrow the task down a bit...

Title: Re: transparent png format
Post by: bllpla on February 17, 2012, 01:49:17 pm
thanks for the answer was clear,
I have no special requests was only to understand why you could not enable transparency in png format