PPMB_IO
binary Portable Pixel Map (PPM) Files
Read and Write Utilities


PPMB_IO is a C++ library which reads and writes files in the binary Portable Pixel Map (PPM) format for 2D color 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:

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

Languages:

PPMB_IO is available in a C version and a C++ version and a Python version.

Related Data and Programs:

BMP_TO_PPMB, a C++ program which converts BMP files to binary Portable Pixel Map (PPM) files.

PBMB_IO, a C++ library which can read or write binary Portable Bit Map (PBM) files.

PGMB_IO, a C++ library which can read or write binary Portable Gray Map (PGM) files.

PPMA_IO, a C++ library which can read or write ASCII Portable Pixel Map (PPM) files.

PPMA_TO_PPMB, a C++ program which converts ASCII Portable Pixel Map (PPM) files to binary PPM files.

PPMB_TO_BMP, a C++ program which converts binary Portable Pixel Map (PPM) files to BMP files.

PPMB_TO_PPMA, a C++ program which converts binary Portable Pixel Map (PPM) files to ASCII PPM files.

Reference:

  1. the PPMB Data page.
  2. the NETPBM homepage.

Source Code:

Examples and Tests:

List of Routines:

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


Last revised on 26 September 2008.