about summary refs log tree commit diff
path: root/pamtogif.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-03-25 00:58:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-03-25 00:58:11 +0000
commit08ea033ee3237833c9535dcc88179ce8a290bcd9 (patch)
treeb0d32e04d8c875456ddb8db8555fcde889d46738 /pamtogif.html
parentbd0e6ff156cce7b9944a48a51354e7bc6506d176 (diff)
downloadnetpbm-mirror-08ea033ee3237833c9535dcc88179ce8a290bcd9.tar.gz
netpbm-mirror-08ea033ee3237833c9535dcc88179ce8a290bcd9.tar.xz
netpbm-mirror-08ea033ee3237833c9535dcc88179ce8a290bcd9.zip
"miscellaneous update"
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@254 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pamtogif.html')
-rw-r--r--pamtogif.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/pamtogif.html b/pamtogif.html
index 9e866c1b..30e6988a 100644
--- a/pamtogif.html
+++ b/pamtogif.html
@@ -30,6 +30,8 @@ pamtogif - convert a Netpbm image to a GIF image
 
 [<B>-nolzw</B>]
 
+[<b>-aspect=</b><i>fraction</i>]
+
 [<B>-verbose</B>]
 
 <BR>
@@ -234,6 +236,30 @@ the output of <B>pamtogif -nolzw </B>, he is then using the LZW
 patent.  But the patent holder expressed far less interest in
 enforcing the patent on decoding than on encoding.
 
+<dt><b>-aspect=</b><i>fraction</i>
+
+<dd>This is the aspect ratio of the pixels of the image.  Its only
+effect is to record that information in the GIF for use by whatever
+interprets the GIF.  Note that this feature of GIF is hardly ever used
+and most GIF decoders ignore this information and assume pixels are
+square.
+
+<p>Pixels in a Netpbm image do not have aspect ratios; there is always
+a one-one correspondence between GIF pixels and Netpbm pixels.
+
+<p>The aspect ratio is the quotient of width divided by height.  GIF
+allows aspect ratios from 0.25 (1:4) to 4 (4:1) in increments of 1/64.
+<b>pamtogif</b> implements a natural extension of GIF that allows an
+aspect ratio up to 4 14/64.  If you specify anything outside this range,
+<b>pamtogif</b> fails.  <b>pamtogif</b> rounds <i>fraction</i> to
+the nearest 1/64.
+
+<p>The default is square (1.0).
+
+<p>This option was new in Netpbm 10.38 (March 2007).  Before that, the
+pixels are always square.
+
+
 <DT><B>-verbose</B>
 
 <DD>This option causes <b>pamtogif</b> to display information about the