wrlib: Improved NETPBM support
commit34ca63c59f716e4d4ab0106c668c789e6d83e740
authorChristophe CURIS <christophe.curis@free.fr>
Wed, 16 Apr 2014 20:29:46 +0000 (16 22:29 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 24 Apr 2014 09:56:50 +0000 (24 10:56 +0100)
tree68ccb4e5e9245e7448966d98e79d74c07bcf5b25
parent051a30f5509cd5828261d838ccf651426ac648c9
wrlib: Improved NETPBM support

- re-add PPM to the list of supported format, because legacy apps may
expect to find it from the list;

- add the copyright notice related to the code that have been borrowed
from Netpbm;

- fixed a small error in PPM format check in the loading procedure;

- and a few minor code improvements

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
wrlib/load.c
wrlib/load_ppm.c