Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mala and transparency(can't get it to work from photoshop but can from illust...  (Read 1362 times)

0 Members and 1 Guest are viewing this topic.

mameplayer

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login: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.

Aurich

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 291
  • Last login:September 12, 2021, 01:34:32 am
Mala doesn't support 24-bit alpha channel PNGs in any way that I am aware of.

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
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.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
I'm pretty sure GDI+ supports alpha channel natively so why no support for it in Mala?

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
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.
« Last Edit: March 15, 2007, 05:18:27 pm by swindus »