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: transparent png format  (Read 2084 times)

0 Members and 1 Guest are viewing this topic.

bllpla

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:May 04, 2012, 04:43:22 pm
transparent png format
« 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 :)

TopJimmyCooks

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2097
  • Last login:March 26, 2024, 01:18:39 pm
Re: transparent png format
« Reply #1 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.

bllpla

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:May 04, 2012, 04:43:22 pm
Re: transparent png format
« Reply #2 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

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: transparent png format
« Reply #3 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...


bllpla

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:May 04, 2012, 04:43:22 pm
Re: transparent png format
« Reply #4 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