BMP_TO_PPMA
BMP => PPMA Graphics File Conversion
BMP_TO_PPMA is a C++ program which converts a Microsoft BMP
file to an ASCII PPM file.
Usage:
-
bmp_to_ppma file.bmp file.ppma
-
reads data from file.bmp and creates an equivalent
graphics file in file.ppma.
Related Data and Programs:
BMP is a file directory which
contains a description and examples of BMP files.
BMP_IO
is a C++ library which
contains many routines required by BMP_TO_PPMA.
PPMA is a file directory
which contains a description and examples of PPMA files.
PPMA_TO_BMP
converts PPMA files to BMP files.
PPMA_IO
is a C++ library which contains many routines required by
BMP_TO_PPMA.
Reference:
-
Microsoft Corporation,
Microsoft Windows Programmer's Reference,
Volume 5; Messages, Structures, and Macros,
Microsoft Press, 1993.
-
http://netpbm.sourceforge.net
the NETPBM homepage.
Source Code:
List of Routines:
-
MAIN is the main program for BMP_TO_PPMA.
-
BMP_TO_PPMA reads a BMP file and writes a PPMA file.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
-
UCMAT_TO_I4MAT converts a UCMAT to an I4MAT.
-
UCMAT_VERT_FLIP swaps rows of a UCMAT, to flip it vertically.
You can go up one level to
the C++ source codes.
Last revised on 02 December 2006.