diff options
Diffstat (limited to 'ppmtobmp.html')
-rw-r--r-- | ppmtobmp.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/ppmtobmp.html b/ppmtobmp.html new file mode 100644 index 00000000..ca6717c4 --- /dev/null +++ b/ppmtobmp.html @@ -0,0 +1,109 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Ppmtobmp User Manual</TITLE> +</HEAD><BODY> +<H1>ppmtobmp</H1> +Updated: 13 June 2000 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +ppmtobmp - convert a PPM image into a BMP file + +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>ppmtobmp</B> + +[<B>-windows</B>] + +[<B>-os2</B>] + +[<B>-bpp=</B><I>bits_per_pixel</I>] + +[<I>ppmfile</I>] + +<p>Minimum unique abbreviation of option is acceptable. You may use double +hyphens instead of single hyphen to denote options. You may use white +space in place of the equals sign to separate an option name from its value. + + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<p><b>ppmtobmp</b> reads a PPM image as input and produces a Microsoft +Windows or OS/2 BMP file as output. + +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT><B>-windows</B> + +<DD>Tells the program to produce a Microsoft Windows BMP file. (This +is the default.) + +<DT><B>-os2</B> + +<DD>Tells the program to produce an OS/2 BMP file. (Before August +2000, this was the default). + +<DT><B>-bpp</B> + +<DD>This tells how many bits per pixel you want the BMP file to +contain. Only 1, 4, 8, and 24 are possible. By default, +<B>ppmtobmp</B> chooses the smallest number with which it can +represent all the colors in the input image. If you specify a number +too small to represent all the colors in the input image, +<B>ppmtobmp</B> tells you and terminates. You can use <B>pnmquant</B> +or <B>ppmdither</B> to reduce the number of colors in the image. + +</DL> + + +<A NAME="lbAF"> </A> +<H2>NOTES</H2> + +<P>To get a faithful reproduction of the input image, the maxval of the +input image must be 255. If it is something else, +the colors in the BMP file may be slightly different from the colors +in the input. + +<P>Windows icons are not BMP files. Use <B>ppmtowinicon</B> to +create those. + +<A NAME="lbAG"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="bmptoppm.html">bmptoppm</A></B>, + +<B><A HREF="ppmtowinicon.html">ppmtowinicon</A></B>, + +<B><A HREF="pnmquant.html">pnmquant</A></B>, + +<B><A HREF="ppmdither.html">ppmdither</A></B>, + +<B><A HREF="ppm.html">ppm</A></B> + +<A NAME="lbAH"> </A> +<H2>AUTHOR</H2> + +Copyright (C) 1992 by David W. Sanderson. + +<HR> +<A NAME="index"> </A> +<H2>Table Of Contents</H2> +<UL> +<LI><A HREF="#lbAB">NAME</A> +<LI><A HREF="#lbAC">SYNOPSIS</A> +<LI><A HREF="#lbAD">DESCRIPTION</A> +<LI><A HREF="#lbAE">OPTIONS</A> +<LI><A HREF="#lbAF">NOTES</A> +<LI><A HREF="#lbAG">SEE ALSO</A> +<LI><A HREF="#lbAH">AUTHOR</A> +</UL> +</BODY> +</HTML> |