Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 2.74 KB

ppma_to_ppmb.md

File metadata and controls

78 lines (55 loc) · 2.74 KB

PPMA_TO_PPMB
PPMA to PPMB graphics file conversion {#ppma_to_ppmb-ppma-to-ppmb-graphics-file-conversion align="center"}


PPMA_TO_PPMB is a C++ program which converts PPMA files to PPMB format.

PPMA_TO_PPMB is a simple application which runs on top of the PPMA_IO and PPMB_IO libraries.

Usage: {#usage align="center"}

ppma_to_ppmb file.ppma file.ppmb : reads the data in file.ppma and writes it to file.ppmb

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

PPMA_TO_PPMB is available in a C++ version and a FORTRAN90 version.

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

PPMA, a data directory which contains sample ASCII PPM files.

PPMA_IO, a C++ library which is used by PPMA_TO_PPMB to read in the ASCII PPM file.

PPMB, a data directory which contains sample PPMB files.

PPMB_IO, a C++ library which is used by PPMA_TO_PPMB to write out the PPMB file.

Reference: {#reference align="center"}

  1. the NETPBM homepage.

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

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

  • MAIN is the main program for PPMA_TO_PPMB.
  • I4_MAX returns the maximum of two integers.
  • I4VEC_TO_UCVEC converts an I4VEC to a UCVEC.
  • PPMA_CHECK_DATA checks the data for an ASCII portable pixel map file.
  • PPMA_READ reads the header and data from an ASCII portable pixel map file.
  • PPMA_READ_DATA reads the data in an ASCII portable pixel map file.
  • PPMA_READ_HEADER reads the header of an ASCII portable pixel map file.
  • PPMA_TO_PPMB converts an ASCII PPM file to binary PPM format.
  • PPMB_WRITE writes the header and data for a binary portable pixel map file.
  • PPMB_WRITE_DATA writes the data for a binary portable pixel map file.
  • PPMB_WRITE_HEADER writes the header of a binary portable pixel map file.
  • TIMESTAMP prints the current YMDHMS date as a time stamp.

You can go up one level to the C++ source codes.


Last revised on 04 December 2006.