PGMA_TO_PGMB
convert ASCII PGM to binary PGM graphics file


PGMA_TO_PGMB is a C++ program which converts ASCII PGM files to binary PGM format.

Usage:

pgma_to_pgmb file1 file2
where

Licensing:

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

Languages:

PGMA_TO_PGMB is available in a C++ version.

Related Data and Programs:

PGMA, a data directory which contains sample ASCII PGM files.

PGMA_IO, a C++ library which is used by PGMA_TO_PGMB to read in the ASCII PGM file.

PGMB, a data directory which contains sample binary PGM files.

PGMB_IO, a C++ library which is used by PGMA_TO_PGMB to write out the binary PGM file.

PGMB_TO_PGMA, a C++ program which converts a binary PGM file to ASCII PGM format.

Reference:

  1. the NETPBM homepage.

Source Code:

List of Routines:

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


Last revised on 30 March 2011.