Archive for January, 2012

Adding PNG support to Osiva

People have been asking for PNG support for years.

We need a simple/small/fast  PNG decoder for Osiva. The standard libraries are not useful because they are too big;  Osiva has to stay pretty small. We will use http://lodev.org/lodepng/.

I have extended the examples in lodepng to paint the decoded image to a Windows window (instead of the built in SDL window). This example uses the unusably inefficient SetPixel() call, but it is just for  a sanity check. The code is at http://www.tristable.net/code/lodepng/.

Comments

Osiva source code is finally available

The source code to Osiva is now available under the GPL. It is at http://tristable.net/osiva/. Follow the Download Files link.

Sorry it took so long. I had to clean up the code a little bit.

Comments