PPMA_TO_BMP
PPMA => BMP Graphics File Conversion
PPMA_TO_BMP
is a C++ program which
converts an ASCII Portable Pixel Map (PPM)
file to a Microsoft BMP file.
Usage:
-
ppma_to_bmp file.ppma file.bmp
-
reads data from file.ppma and creates an equivalent
graphics file in file.bmp.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
PPMA_TO_BMP is available in
a C++ version.
Related Data and Programs:
BMP,
a data directory which
contains a description and examples of BMP files.
BMP_TO_PPMA,
a C++ program which
converts BMP files to ASCII PPM files.
BMP_IO,
a C++ library which
contains many routines required by PPMA_TO_BMP.
PPMA,
a data directory which
contains a description and examples of ASCII PPM files.
PPMA_IO,
a C++ library which
contains many routines required by PPMA_TO_BMP.
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 PPMA_TO_BMP.
-
PPMA_TO_BMP reads a PPMA (ASCII PPM) file and writes a BMP file.
-
I4MAT_VERT_FLIP swaps rows of an I4MAT, to flip it vertically.
-
I4MAT_TO_UCMAT converts an I4MAT to a UCMAT.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to
the C++ source codes.
Last revised on 06 January 2006.