PBMPAK - Portable Bit Map Graphics
PBMPAK is a collection of C routines
for creating and reading
Portable Bit Map files (PBM).
Both ASCII and binary formats are supported. The library can also handle
the related
Portable Gray Map files (PGM)
and
Portable Pixel Map files (PPM)
formats. Many utilities exist to translate between these formats
and others such as GIF, MacPaint, X Window, and so on.
PBMPAK is a C version of a subset of the
FORTRAN PBMLIB collection.
Files you may copy include:
The list of routines includes:
-
BITCHR75 returns a 7 by 5 bit pattern for a given character.
-
PBM_CHECK_DATA checks the data for an ASCII portable bit map file.
-
PBMA_READ reads the header and data from an ASCII portable bit map file.
-
PBMA_READ_DATA reads the data in an ASCII portable bit map file.
-
PBMA_READ_HEADER reads the header of an ASCII portable bit map file.
-
PBMA_READ_TEST tests the ASCII portable bit map read routines.
-
PBMA_WRITE writes the header and data for an ASCII portable bit map file.
-
PBMA_WRITE_DATA writes the data for an ASCII portable bit map file.
-
PBMA_WRITE_HEADER writes the header of an ASCII portable bit map file.
-
PBMA_WRITE_TEST tests the ASCII portable bit map write routines.
-
PBMB_READ reads the header and data from a binary portable bit map file.
-
PBMB_READ_DATA reads the data in a binary portable bit map file.
-
PBMB_READ_HEADER reads the header of a binary portable bit map file.
-
PBMB_READ_TEST tests the binary portable bit map read routines.
-
PBMB_WRITE writes the header and data for a binary portable bit map file.
-
PBMB_WRITE_DATA writes the data for a binary portable bit map file.
-
PBMB_WRITE_HEADER writes the header of a binary portable bit map file.
-
PBMB_WRITE_TEST tests the binary portable bit map write routines.
-
PGM_CHECK_DATA checks the data for an ASCII portable gray map file.
-
PGMA_READ reads the header and data from an ASCII portable gray map file.
-
PGMA_READ_DATA reads the data in an ASCII portable gray map file.
-
PGMA_READ_HEADER reads the header of an ASCII portable gray map file.
-
PGMA_READ_TEST tests the ASCII portable gray map read routines.
-
PGMA_WRITE writes the header and data for an ASCII portable gray map file.
-
PGMA_WRITE_DATA writes the data for an ASCII portable gray map file.
-
PGMA_WRITE_HEADER writes the header of an ASCII portable gray map file.
-
PGMA_WRITE_TEST tests the ASCII portable gray map write routines.
-
PGMB_READ reads the header and data from a binary portable gray map file.
-
PGMB_READ_DATA reads the data in a binary portable gray map file.
-
PGMB_READ_HEADER reads the header of a binary portable gray map file.
-
PGMB_READ_TEST tests the binary portable gray map read routines.
-
PGMB_WRITE writes the header and data for a binary portable gray map file.
-
PGMB_WRITE_DATA writes the data for a binary portable gray map file.
-
PGMB_WRITE_HEADER writes the header of a binary portable gray map file.
-
PGMB_WRITE_TEST tests the binary portable gray map write routines.
-
PPM_CHECK_DATA checks the data for an ASCII portable pixel map file.
-
PPMA_READ reads the header and data from an ASCII portable pixel map file.
-
PPMA_READ_DATA reads the data in an ASCII portable pixel map file.
-
PPMA_READ_HEADER reads the header of an ASCII portable pixel map file.
-
PPMA_READ_TEST tests the ASCII portable pixel map read routines.
-
PPMA_WRITE writes the header and data for an ASCII portable pixel map file.
-
PPMA_WRITE_DATA writes the data for an ASCII portable pixel map file.
-
PPMA_WRITE_HEADER writes the header of an ASCII portable pixel map file.
-
PPMA_WRITE_TEST tests the ASCII portable pixel map write routines.
-
PPMB_READ reads the header and data from a binary portable pixel map file.
-
PPMB_READ_DATA reads the data in a binary portable pixel map file.
-
PPMB_READ_HEADER reads the header of a binary portable pixel map file.
-
PPMB_READ_TEST tests the binary portable pixel map read routines.
-
PPMB_WRITE writes the header and data for a binary portable pixel map file.
-
PPMB_WRITE_DATA writes the data for a binary portable pixel map file.
-
PPMB_WRITE_HEADER writes the header of a binary portable pixel map file.
-
PPMB_WRITE_TEST tests the binary portable pixel map write routines.
Back to the graphics page.
Last revised on 15 June 2002.