Dali: PNM Files -- Tcl Commands


Table of Contents


Allocation



pnm_hdr_new



pnm_hdr_free hdr

Initialization



pnm_hdr_copy src dest



pnm_hdr_parse bp hdr



pnm_hdr_set_type hdr type
pnm_hdr_set_width hdr width
pnm_hdr_set_height hdr height
pnm_hdr_set_maxval hdr maxval

PnmHdr Queries



pnm_hdr_get_type hdr
pnm_hdr_get_width hdr
pnm_hdr_get_height hdr
pnm_hdr_get_maxval hdr

Output



pnm_hdr_encode hdr bp

PPM Files



ppm_parse bp r g b



ppm_encode r g b bp

PGM Files



pgm_parse bp byte



pgm_encode byte bp



byte_cast_to_bitstream byte



bitstream_cast_to_byte bs hdr offset

PBM Files



pbm_parse bp bit



pbm_parse_8 bp bit



pbm_encode bit bp



pbm_encode_8 bit bp



bit_cast_to_bitstream bit



bitstream_cast_to_bit bs hdr offset


See Also

ByteImage , BitImage , Streams , NetPBM


Last updated : Saturday, November 14, 1998, 07:50 PM