PBMLIB
Portable Bit Maps


PBMLIB is a FORTRAN90 library which creates and reads Portable Bit Map files (PBM).

Both ASCII PBMA and binary PBMB formats are supported. The library can also handle the related Portable Gray Map (PGMA and PGMB) and Portable Pixel Map (PPMA and PPMB) formats.

There are many graphics programs, such as XV and GIMP, that can display images in these formats, or translate them to other formats such as BMP, GIF, JPEG, MacPaint, X Window, and so on.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

PBMLIB is available in a C version and a FORTRAN90 version.

Related Data and Programs:

PBMA, a data directory which contains examples and a description of the ASCII Portable Bit Map graphics file format.

PBMA_IO, a FORTRAN90 library which can read or write ASCII PBM (black/white) graphics files.

PGMA, a data directory which contains examples and a description of the ASCII Portable Grayscale Map graphics file format.

PGMA_IO, a FORTRAN90 library which can read or write ASCII PGM (grayscale) graphics files.

PPMA, a data directory which contains examples and a description of the ASCII Portable Pixel Map graphics file format.

PPMA_IO, a FORTRAN90 library which can read or write ASCII PPM (RGB color) graphics files.

Reference:

  1. the NETPBM homepage.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 03 September 2005.