Pgmtopbm User Manual(0)                                Pgmtopbm User Manual(0)





NNAAMMEE
       pgmtopbm - convert a PGM image to PBM


SSYYNNOOPPSSIISS
       ppggmmttooppbbmm

       [--ffllooyydd | --ffss | --tthhrreesshhoolldd | --hhiillbbeerrtt | --ddiitthheerr88 | --dd88 | --cclluusstteerr33 |
       --cc33 | --cclluusstteerr44 | --cc44 | --cclluusstteerr88 | --cc88]

       [--vvaalluuee _v_a_l]

       [--cclluummpp _s_i_z_e]

       [_p_g_m_f_i_l_e]


DDEESSCCRRIIPPTTIIOONN
       This program is part of NNeettppbbmm(1).

       This program is obsolete since Netpbm 10.23 (July 2004).  Use
       ppaammddiitthheerrbbww(1) to do what this program used to do.

       ppggmmttooppbbmm never was the simple converter it appeared to be.  It was a
       dithering program.  Unfortunately, it didn't do the dithering properly
       because it treated the PGM input samples as if they were directly
       proportional to light intensity, but they are actually gamma-adjusted.

       ppaammddiitthheerrbbww is backward compatible with ppggmmttooppbbmm except that it


       +o      does the correct gamma adjustments.

       +o      produces PAM output instead of PBM.  (Modern Netpbm programs
              that accept PBM input also accept PAM input, but if you need
              actual PBM, you can use ppaammttooppbbmm with ppaammddiitthheerrbbww).

              So use the manual for ppaammddiitthheerrbbww for ppggmmttooppbbmm, except ignore
              anything that says it was added after Netpbm Release 10.23 and
              ignore any options that are not shown in the synopsis above.

       If you just want to convert a PGM image with maxval 1 to PBM, use
       ppaammttooppnnmm(1)

DDOOCCUUMMEENNTT SSOOUURRCCEE
       This manual page was generated by the Netpbm tool 'makeman' from HTML
       source.  The master documentation is at

              hhttttpp::////nneettppbbmm..ssoouurrcceeffoorrggee..nneett//ddoocc//ppggmmttooppbbmm..hhttmmll



netpbm documentation             20 June 2004          Pgmtopbm User Manual(0)
