diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-06-28 03:55:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-06-28 03:55:05 +0000 |
commit | ac37486eb46aac7e673866a92da9dc741508fcc0 (patch) | |
tree | bd3689883b4e7d5cc4dce7740fbdc105f6e16f27 /pngtopam.html | |
parent | 66f2acd920e2cc51dd24b9e40ad93c0c02b6d994 (diff) | |
download | netpbm-mirror-ac37486eb46aac7e673866a92da9dc741508fcc0.tar.gz netpbm-mirror-ac37486eb46aac7e673866a92da9dc741508fcc0.tar.xz netpbm-mirror-ac37486eb46aac7e673866a92da9dc741508fcc0.zip |
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@2572 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pngtopam.html')
-rw-r--r-- | pngtopam.html | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/pngtopam.html b/pngtopam.html index 6cafbcd4..e960f33a 100644 --- a/pngtopam.html +++ b/pngtopam.html @@ -40,14 +40,11 @@ file. Otherwise, it creates a PPM file. Except that with the tuple type GRAYSCALE_ALPHA or RGB_ALPHA depending on whether the input has color or not. -<p>To convert in the other direction, use <b>pnmtopng</b> or -<b>pamrgbatopng</b>. The former is more powerful in almost every way, except -that only the latter can recognize transparency information in a PAM file, as -you might generate with <b>pngtopam -alphapam</b>. To use <b>pnmtopng</b> -with a PAM file with transparency, you can separate out the transparency -channel with <b>pamchannel</b> and feed it to <b>pnmtopng</b> separately. But -you may want to use <b>pngtopam -alpha</b> instead of <b>pngtopam --alphapam</b> if you're going to be converting back. +<p>To convert in the other direction, use <b>pamtopng</b> or +<b>pnmtopng</b>. The former is the more modern of the two and can recognize +transparency information in a PAM file, as you might generate with <b>pngtopam +-alphapam</b>. It has existed only since June 2015. The latter has more +features, but probably not ones that matter in the modern world. <H2 id="options">OPTIONS</H2> @@ -72,10 +69,6 @@ format with tuple type of either GRAYSCALE_ALPHA (which has a depth of <b>-mix</b>. With none of them, <b>pngtopam</b> produces an image of the foreground of the input image and discards transparency information. -<p>Note that converting in the other direction, the <b>pamtopng</b> converter -won't recognize the transparency information you generate -with <b>-alphapam</b>, but <b>pamrgbatopng</b> will. - <P>This option was new in Netpbm 10.44 (September 2008). <DT><B>-alpha</B> @@ -248,6 +241,7 @@ Netpbm format. <H2 id="seealso">SEE ALSO</H2> +<A HREF="pnmtopng.html">pamtopng</A>, <A HREF="pnmtopng.html">pnmtopng</A>, <A HREF="pngtopnm.html">pngtopnm</A>, <b>ptot</b>, |