summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-08-07 00:43:10 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-08-07 00:43:10 +0000
commit3195997e71a1ad9686da91a1d14cda2d81d3eb52 (patch)
tree80b0bf66fc0011c0a79d0f097bdb2572846873ea
parentbe53c19faa6b3cea13b923976af67b800078ee3a (diff)
downloadnetpbm-mirror-3195997e71a1ad9686da91a1d14cda2d81d3eb52.tar.gz
netpbm-mirror-3195997e71a1ad9686da91a1d14cda2d81d3eb52.tar.xz
netpbm-mirror-3195997e71a1ad9686da91a1d14cda2d81d3eb52.zip
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4580 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--ppmtosixel.html24
1 files changed, 20 insertions, 4 deletions
diff --git a/ppmtosixel.html b/ppmtosixel.html
index 91716e70..3836cb85 100644
--- a/ppmtosixel.html
+++ b/ppmtosixel.html
@@ -2,7 +2,7 @@
 <html><head><title>Ppmtosixel User Manual</title></head>
 <body>
 <h1>ppmtosixel</h1>
-Updated: 26 April 1991
+Updated: 1 August 2023
 <br>
 <a href="#index">Table Of Contents</a>
 
@@ -18,6 +18,8 @@ ppmtosixel - convert a PPM image to DEC sixel format
 
 [<b>-margin</b>]
 
+[<b>-7bit</b>]
+
 [<i>ppmfile</i>]
 
 <h2 id="description">DESCRIPTION</h2>
@@ -25,8 +27,9 @@ ppmtosixel - convert a PPM image to DEC sixel format
 <p>This program is part of <a href="index.html">Netpbm</a>.
 
 <p><b>ppmtosixel</b> reads a PPM image as input and produces sixel
-commands (SIX) as output.  The output is formatted for color printing,
-e.g. for a DEC LJ250 color inkjet printer.
+commands (SIX) as output.  The output is formatted for color printing
+(e.g. for a DEC LJ250 color inkjet printer) or for color display on
+DEC VT terminals and terminal emulators (VT240 and beyond).
 
 <p>If RGB values from the PPM file do not have maxval=100,
 <b>ppmtosixel</b> rescales them to maxval 100.  A printer control
@@ -53,9 +56,22 @@ magnitude larger than a compressed file and prints much slower.
 <dt><b>-margin</b>
 
 <dd>If you don't specify <b>-margin</b>, the image will start at the
-left margin (of the window, paper, or whatever).  If you <em>do</em>
+left margin (of the window, paper, or whatever).  If you do
 specify <b>-margin</b>, a 1.5 inch left margin will offset the image.
 
+<dt><b>-7bit</b>
+
+<dd>If you don't specify <b>-7bit</b>, each control code will be
+expressed as a single, 8-bit "C1" character.  If you do
+specify <b>-7bit</b>, each control code will be expressed using two,
+7-bit "C0" characters.
+(See <a href="https://en.wikipedia.org/wiki/C0_and_C1_control_codes">C0
+and C1 control codes</a> for more information.)  In other
+words, <b>-7bit</b> produces more portable sixel files, and its
+absence produces smaller sixel files.
+
+<p>This option was new in Netpbm 11.04 (September 2023).
+  
 </dl>
 
 <h2 id="printing">PRINTING</h2>