# man > hdifftopam(1)

_Hdifftopam_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)              General Commands Manual             _Hdifftopam_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       hdifftopam - convert horizontal difference image to original PAM image


## SYNOPSIS
       **hdifftopam**[_pamfile_] [**-pnm**] [**-verbose**]

       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 sep‐
       arate an option name from its value.


## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       **hdifftopam **undoes what **pamtohdiff **does.


## OPTIONS
       In addition to the options common to all programs based on libnetpbm  (most  notably  **-quiet**,
       see ]8;;index.html#commonoptions\ Common Options]8;;\ ), **hdifftopam **recognizes the following command line options:



### -pnm
                   This option tells **hdifftopam **to create a PNM image (i.e. PGM or
                   PPM).  Without it, **hdifftopam **creates a PAM image (with a
                   tuple type of "unhdiff").  If the PAM does not have the proper depth
                   to be a PGM or PPM (i.e. 1 or 3) and you specify **-pnm**,
                   **hdifftopam **fails.



### -verbose
                   Print output image width, height, depth and maxval to standard error.



## SEE ALSO
       [**pamtohdiff**(1)](https://www.chedong.com/phpMan.php/man/pamtohdiff/1/markdown)


## AUTHOR
       Bryan Henderson

## DOCUMENT SOURCE
       This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master
       documentation is at

              **<http://netpbm.sourceforge.net/doc/hdifftopam.html>**

netpbm documentation                        15 April 2002                  _Hdifftopam_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
