Penguin
Blame: ppmtosixel(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of ppmtosixel(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ppmtosixel
2 !!!ppmtosixel
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 PRINTING
8 BUGS
9 SEE ALSO
10 AUTHOR
11 ----
12 !!NAME
13
14
15 ppmtosixel - convert a portable pixmap into DEC sixel format
16 !!SYNOPSIS
17
18
19 __ppmtosixel__ [[__-raw__] [[__-margin__]
20 [[''ppmfile'']
21 !!DESCRIPTION
22
23
24 Reads a portable pixmap as input. Produces sixel commands
25 (SIX) as output. The output is formatted for color printing,
26 e.g. for a DEC LJ250 color inkjet printer.
27
28
29 If RGB values from the PPM file do not have maxval=100, the
30 RGB values are rescaled. A printer control header and a
31 color assignment table begin the SIX file. Image data is
32 written in a compressed format by default. A printer control
33 footer ends the image file.
34 !!OPTIONS
35
36
37 __-raw__
38
39
40 If specified, each pixel will be explicitly described in the
41 image file. If __-raw__ is not specified, output will
42 default to compressed format in which identical adjacent
43 pixels are replaced by
44 __
45
46
47 __-margin__
48
49
50 If __-margin__ is not specified, the image will be start
51 at the left margin (of the window, paper, or whatever). If
52 __-margin__ is specified, a 1.5 inch left margin will
53 offset the image.
54 !!PRINTING
55
56
57 Generally, sixel files must reach the printer unfiltered.
58 Use the lpr -x option or cat filename
59 !!BUGS
60
61
62 Upon rescaling, truncation of the least significant bits of
63 RGB values may result in poor color conversion. If the
64 original PPM maxval was greater than 100, rescaling also
65 reduces the image depth. While the actual RGB values from
66 the ppm file are more or less retained, the color palette of
67 the LJ250 may not match the colors on your screen. This
68 seems to be a printer limitation.
69 !!SEE ALSO
70
71
72 ppm(5)
73 !!AUTHOR
74
75
76 Copyright (C) 1991 by Rick Vinci.
77 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.