PPMB_TO_PPMA\
PPMB => PPMA\
(binary to ASCII) conversion {#ppmb_to_ppma-ppmb-ppma-binary-to-ascii-conversion align=”center”}
============================
PPMB_TO_PPMA is a C++ program which converts a binary Portable
Pixel Map (PPM) file to an ASCII PPM file.
Usage: {#usage align=”center”}
- ppmb_to_ppma file.ppmb file.ppma
- reads the information in the binary PPM file file.ppmb and
rewrites it to the ASCII PPM file file.ppma.
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”}
PPMB_TO_PPMA is available in a C++
version.
I2_BINARY_TO_ASCII
a C++ program which converts a file of short int (I2) data from binary
to ASCII format.
PPMA, a data directory which contains a
description and examples of the ASCII PPM format.
PPMA_IO, a C++ library which
reads and writes files in the ASCII PPM format.
PPMB, a data directory which contains a
description and examples of the binary PPM format.
PPMB_IO, a C++ library which
reads and writes files in the binary PPM format.
Reference: {#reference align=”center”}
- http://netpbm/sourceforge.net/\
the NETPBM homepage.
Source Code: {#source-code align=”center”}
List of Routines: {#list-of-routines align=”center”}
- MAIN is the main program for PPMB_TO_PPMA.
- I4_MAX returns the maximum of two integers.
- 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.
- PPMB_CHECK_DATA checks the data for a binary portable pixel
map file.
- 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_TO_PPMA converts one PPMB file to PPMA format.
- TIMESTAMP prints the current YMDHMS date as a time stamp.
- UCMAT_TO_I4MAT converts a UCMAT to an I4MAT.
You can go up one level to the C++ source codes.
Last revised on 31 August 2005.