The '''http://netpbm.sourceforge.net/%|%Netpbm project%|%''' provides a collection of programs and a software library for converting images to and from several simple, similar image file formats, and for manipulating images in those formats (resizing, rotating, cropping them, etc.). All but one of the formats have both a binary and a particularly Tcl-friendly text-based version. Netpbm is maintained. Version 10.47.66 was released in September 2017. It is a fork of the older, now frozen, http://www.acme.com/software/pbmplus/%|%PBM Plus%|%. ** See also ** * [PPM] * [PGM] * [strimj - string image routines] * [XBM] ** Discussion ** [TV] I remember using it for computer graphics work, long ago, even before I used it to convert images to the (also early) Tk compatible PPM (or PBM, summed up together as PNM) format. The PPM format I used as a student before that, it existed at least in 1986 or so, and favoured it because it basically is a raw raw data format (though there are also inefficient but editable ascii data formats) RGB pixel file with a small human readable header. To make a valid and veeery portable PPM file, the following C code can be used: ---- /************* Testing PPM image creation and saving ******************/ /* 3 bytes per pixel, binary colour format, which is widely portable. */ #include /* not sure needed for al unixes, */ #include /* but is fine/needed on most */ #include unsigned char *im; /* image data */ int w,h; /* global width and height */ unsigned char * createim(w,h) /* Allocate space for an image */ int w,h; { unsigned char *d; int x,y; d = (unsigned char *) malloc(3*w*h); for (x=0; x> Graphics | File