# man > pngtopnm(1)

> **TLDR:** This command has been superseded by `pngtopam`.
>
- View documentation for the current command:
  `tldr pngtopam`

*Source: tldr-pages*

---

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

## NAME
       pngtopnm - Convert a PNG image to PNM: replaced by pngtopam


## SYNOPSIS
       **pngtopnm  **[**-verbose**]  [**-alpha  **|  **-mix**]  [**-background**=_color_]  [**-gamma**=_value_] [**-text**=_filename_]
       [**-time**] [_pngfile_]

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

       **pngtopnm  **was  obsoleted by [**pngtopam**(1)](https://www.chedong.com/phpMan.php/man/pngtopam/1/markdown), introduced with Netpbm 10.44 (September 2008).  **png‐**
       **topam **is backward compatible with **pngtopnm**, plus adds many  additional  functions,  including
       the ability to produce a PAM image that includes a transparency (alpha) channel.

       Starting in Release 10.48, **pngtopnm **is just an alias for **pngtopam**.

       **pngtopnm  **remained in the Netpbm package through Release 10.47 because it may have fewer bugs
       than **pngtopam **in those releases, and may be faster in some environments.  But **pngtopnm**'s  in‐
       compatibility with the most current PNG libraries makes it impractical to maintain along with
       **pngtopam **now.

       In  releases  before  10.48, you can use the **pngtopam **documentation for **pngtopnm**, considering
       the following differences:




       •      **pngtopnm **options are a subset of **pngtopam**'s, as documented above.


       •      Any change that the **pngtopam **manual says happened in or after Netpbm 10.44 doesn't ap‐
              ply to **pngtopnm**.

## 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/pngtopnm.html>**

netpbm documentation                        22 July 2008                     _Pngtopnm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
