mardi 5 mai 2015

GID release #04

GID means Generic Image Decoder, an open-source library that can be found here.

In the latest version, in addition to the sophisticated formats like JPEG and PNG, the decoder supports also the simple format family PNM (Portable aNy Map) with the flavors PBM (Portable BitMap, black & white), PGM  (Portable GreyMap), PPM  (Portable PixMap, in full colors).


The PNM format allows for viewing or editing a bitmap code in a text editor, for instance:

Here the black & white picture
The programming of a PNM output can be as simple as this:

This is the P6 (full colors, binary) format
Cool, isn't it ?

Pasta! levels 21 to 30

...are now available. The new "antipasta" at work! Link to the game: Enjoy!