Skip to content

Files

Latest commit

 

History

History
76 lines (53 loc) · 2.95 KB

pbma_io.md

File metadata and controls

76 lines (53 loc) · 2.95 KB

PBMA_IO
ASCII Portable Bit Map (PBM) Files
Read and Write Utilities {#pbma_io-ascii-portable-bit-map-pbm-files-read-and-write-utilities align="center"}


PBMA_IO is a C++ library which reads and writes files in the ASCII Portable Bit Map (PBM) format for 2D bit map graphics information.

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

Licensing: {#licensing align="center"}

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

Languages: {#languages align="center"}

PBMA_IO is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs: {#related-data-and-programs align="center"}

PBMA, a data directory which contains some example ASCII Portable Bit Map (PBM) files.

PBMB_IO, a C++ library which handles the binary Portable Bit Map (PBM) format.

PGMA_IO, a C++ library which handles the ASCII Portable Gray Map (PGM) format.

PPMA_IO, a C++ library which handles the ASCII Portable Pixel Map (PPM) format.

Reference: {#reference align="center"}

  1. the NETPBM homepage.

Source Code: {#source-code align="center"}

Examples and Tests: {#examples-and-tests align="center"}

List of Routines: {#list-of-routines align="center"}

  • PBMA_CHECK_DATA checks the data for an ASCII PBM file.
  • PBMA_EXAMPLE sets up some ASCII PBM data.
  • PBMA_READ reads the header and data from an ASCII PBM file.
  • PBMA_READ_DATA reads the data in an ASCII PBM file.
  • PBMA_READ_HEADER reads the header of an ASCII PBM file.
  • PBMA_READ_TEST tests the ASCII PBM read routines.
  • PBMA_WRITE writes the header and data for an ASCII PBM file.
  • PBMA_WRITE_DATA writes the data for an ASCII PBM file.
  • PBMA_WRITE_HEADER writes the header of an ASCII PBM file.
  • PBMA_WRITE_TEST tests the ASCII PBM write routines.

You can go up one level to the C++ source codes.


Last revised on 05 June 2010.