diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-12-15 04:35:49 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-12-15 04:35:49 +0000 |
commit | cb359114214f55be224bd8a403a7a55a1d136174 (patch) | |
tree | 78af57258282b09a89fece76801edc8fea458db1 /ppmtoarbtxt.html | |
parent | 779ea3f921ca9448442a71f6232c1dcf90ad2d32 (diff) | |
download | netpbm-mirror-cb359114214f55be224bd8a403a7a55a1d136174.tar.gz netpbm-mirror-cb359114214f55be224bd8a403a7a55a1d136174.tar.xz netpbm-mirror-cb359114214f55be224bd8a403a7a55a1d136174.zip |
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@2339 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppmtoarbtxt.html')
-rw-r--r-- | ppmtoarbtxt.html | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/ppmtoarbtxt.html b/ppmtoarbtxt.html index d6e97ddb..f6c822e1 100644 --- a/ppmtoarbtxt.html +++ b/ppmtoarbtxt.html @@ -72,38 +72,46 @@ of an integer. <p><B>#(fred)</B> is equivalent to <B>#(fred %f 0.0 1.0)</B>. -<DT><B>#(fgreen</B><I> format blackref whiteref</I><B>)</B> +<DT><B>#(fgreen </B><I>format blackref whiteref</I><B>)</B> <DD>Same as <B>#(fred...</B>, but for green. -<DT><B>#(fblue</B><I> format blackref whiteref</I><B>)</B> +<DT><B>#(fblue </B><I>format blackref whiteref</I><B>)</B> <DD>Same as <B>#(fred...</B>, but for blue. -<DT><B>#(flum</B><I> format blackref whiteref</I><B>)</B> +<DT><B>#(flum </B><I>format blackref whiteref</I><B>)</B> <DD>Same as <B>#(fred...</B>, but representing the luminance value (0.299*red + 0.587*green + 0.114*blue) of the pixel. -<DT><B>#(width)</B> +<DT><B>#(width </B><i>format</i><b>)</b> <DD>Generates the width in pixels of the image. -<DT><B>#(height)</B> +<p>The second argument to the <b>fprintf</b> that uses <i>format</i> +has an unsigned integer data type. -<DD>Generates the height in pixels of the image. +<p><i>format</i> defaults to <b>%u</b> +<DT><B>#(height </B><i>format</i><b>)</b> -<DT><B>#(posx)</B> +<DD>Same as <b>#(width...</b>, but for the height of the image. + +<DT><B>#(posx </B><i>format</i><b>)</b> <DD>Generates the horizontal position of the pixel, in pixels from the left edge of the image. -<DT><B>#(posy)</B> +<p>The second argument to the <b>fprintf</b> that uses <i>format</i> +has an unsigned integer data type. -<DD>Generates the vertical position of the pixel, in pixels from the top -edge of the image. +<p><i>format</i> defaults to <b>%u</b> + +<DT><B>#(posy </B><i>format</i><b>)</b> + +<DD>Same as <b>#(width...</b>, but for the vertical position. </DL> @@ -111,6 +119,7 @@ edge of the image. <P>If the skeleton file ends with a LF-character, <b>ppmtoarbtxt</b> ignores it -- it does not include it in the output. + <H2 id="options">OPTIONS</H2> <DL COMPACT> |