Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: mameplayer on March 12, 2007, 06:48:38 pm
-
Hi I am trying to get mala to recognise my transparent png's created with photoshop and it can't in fact it has trouble with png's from photoshop period. Is there some setting I should use in photoshop to save the png's so they can be read by mala? I can export a png with illustrator and it will read that just fine but illustrator isn't the best when it comes to transparency and effects applied at the transparency in my case it shows the transparency as mainly white and you can just barely see through it(I have a frosted glass type thing going on)
I see in the blue skin that it has like a pink color applied where the transparency is? What is that all about?
I am creating these files with cs2 and on a mac so maybe that has something to do with it?
Thanks.
-
Mala doesn't support 24-bit alpha channel PNGs in any way that I am aware of.
-
MaLa doesn't support alpha channel transparency. MaLa supports pixel transparency only and the color of the bottom left pixel of an image is used for the transparency color.
-
I'm pretty sure GDI+ supports alpha channel natively so why no support for it in Mala?
-
Right, GDI+ supports alpha channel natively and I did some tests with it some time ago (I have made a MaLa v1.0 beta3 fully GDI+ driven with alpha channels) and it was to slow when using more than one image on a layout or several objects in a z-order over another with alpha channels. The animations objects were looking fine with alpha channels but the scrolling speed was nearly zero. Features like rotating and scaling are also easy with GDI+, but if you put all these things together and MaLa does it, it is pretty useless.
The only way to support alpha channels and blending is DirectX, the GDI+ stuff is definitely to slow. I think you can create some nice paint like applications with the GDI+, but seriously no frontend with more than one image object in the layout.