Next: Collections, Previous: MAT-File Format, Up: Data Structures [Contents][Index]
(require 'pnm)
The string path must name a portable bitmap graphics file.
pnm:type-dimensions returns a list of 4 items:
The current set of file-type symbols is:
Reads the portable bitmap graphics file named by path into array. array must be the correct size and type for path. array is returned.
pnm:image-file->array creates and returns an array with the
portable bitmap graphics file named by path read into it.
Writes the contents of array to a type image file named path. The file will have pixel values between 0 and maxval, which must be compatible with type. For ‘pbm’ files, maxval must be ‘1’. comments are included in the file header.
Next: Collections, Previous: MAT-File Format, Up: Data Structures [Contents][Index]