1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

wrlib: Improved NETPBM support, file format detection

1) according to that checks i was able to see that some netpbm support
   type are missing (exactly: ascii graymap (PGM files) and pixmap (PPM)
   and ascii/binary bitmap (PBM))

See the link below for more details.
http://en.wikipedia.org/wiki/Netpbm_format

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
David Maciejak
2014-02-15 18:25:13 +08:00
committed by Carlos R. Mafra
parent aed4d78e87
commit 5c96c69cb5
2 changed files with 230 additions and 48 deletions

View File

@@ -78,8 +78,8 @@ char **RSupportedFileFormats(void)
/* built-in */
tmp[i++] = "XPM";
/* built-in */
tmp[i++] = "PPM";
/* built-in PNM here refers to anymap format: PPM, PGM, PBM */
tmp[i++] = "PNM";
#ifdef USE_TIFF
tmp[i++] = "TIFF";
#endif