Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 2.63 KB

bmp_to_ppmb.md

File metadata and controls

76 lines (51 loc) · 2.63 KB

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.

Usage: {#usage align="center"}

bmp_to_ppmb file.bmp file.ppm : reads data from file.bmp and creates an equivalent graphics file in file.ppm.

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"}

BMP_TO_PPMB is available in a C++ version.

Related Data and Programs: {#related-data-and-programs align="center"}

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.

Reference: {#reference align="center"}

  1. Microsoft Corporation,
    Microsoft Windows Programmer's Reference,
    Volume 5; Messages, Structures, and Macros,
    Microsoft Press, 1993.
  2. http://netpbm.sourceforge.net
    the NETPBM homepage.

Source Code: {#source-code align="center"}

Examples and Tests: {#examples-and-tests align="center"}

List of Routines: {#list-of-routines align="center"}

  • 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.