The International Simutrans Forum

 

Author Topic: PNG output?  (Read 1369 times)

0 Members and 1 Guest are viewing this topic.

Offline Ashley

  • Coder/Patcher
  • Devotee
  • *
  • Posts: 1288
    • entropy.me.uk
PNG output?
« on: September 06, 2011, 04:47:26 PM »
Any pointers on where to look for getting the game to output a PNG? Is this possible cross-platform? I'd like to be able to upload a PNG image to the listing server directly rather than having to upload binary data and then transform it at the other end.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9559
  • Languages: De,EN,JP
Re: PNG output?
« Reply #1 on: September 06, 2011, 06:58:59 PM »
The server does not do this, as the default binary is not liked with libpng. Can be changed of course. Still you would have to program a 256 colors to PNG output. For 16 bit see the code in branches for makeobj.