PPMB_TO_BMP
PPMB => BMP Conversion
PPMB_to_BMP
is a C++ program which
converts a binary PPM
file to a Microsoft BMP file.
Usage:
-
ppmb_to_bmp file.ppmb file.bmp
-
reads data from file.ppmb 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:
PPMB_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_PPMB,
a C++ program which
converts BMP files to PPMB files.
BMP_IO,
a C++ library which
contains many routines required by PPMA_TO_BMP.
PPMB,
a data directory which
contains a description and examples of PPMB files.
PPMB_IO,
a C++ library which
contains many routines required by PPMB_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 PPMB_TO_BMP.
-
PPMB_TO_BMP reads a PPMB (binary PPM) file and writes a BMP file.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
-
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 05 January 2006.