BMP_TO_PPMB
BMP => binary Portable Pixel Map (PPM) Conversion {#bmp_to_ppmb-bmp-binary-portable-pixel-map-ppm-conversion align="center"}
BMP_TO_PPMB is a C++ program which converts a Microsoft BMP file to a binary Portable Pixel Map (PPM) file.
bmp_to_ppmb file.bmp file.ppm : reads data from file.bmp and creates an equivalent graphics file in file.ppm.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
BMP_TO_PPMB is available in a C++ version.
BMP, a data directory which contains a description and examples of BMP files.
BMP_IO, a C++ library which reads or writes BMP graphics files.
PPMB, a data directory which contains a description and examples of binary Portable Pixel Map (PPM) files.
PPMB_TO_BMP, a C++ program which converts binary Portable Pixel Map (PPM) files to BMP files.
PPMB_IO, a C++ library which reads or writes binary Portable Pixel Map (PPM) files.
- Microsoft Corporation,
Microsoft Windows Programmer's Reference,
Volume 5; Messages, Structures, and Macros,
Microsoft Press, 1993. - http://netpbm.sourceforge.net
the NETPBM homepage.
- bmp_to_ppmb.cpp, the source code;
- blackbuck.bmp, a sample BMP file (a BINARY file!);
- blackbuck.ppm, the converted binary PPM file.
- MAIN is the main program for BMP_TO_PPMB.
- BMP_TO_PPMB reads a BMP file and writes a PPMB 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.