📄 0420-0422.html
字号:
<HTML>
<HEAD>
<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>
</HEAD>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311046 //-->
<!-- TITLE=Linux Complete Command Reference//-->
<!-- AUTHOR=Red Hat//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=01 //-->
<!-- PAGES=0001-0736 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0418-0419.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0423-0425.html">Next</A></CENTER></P>
<A NAME="PAGENUM-420"><P>Page 420</P></A>
<P><B>
OPTIONS
</B>
</P>
<TABLE>
<TR><TD>
-sort
</TD><TD>
Produces a portable pixmap with the colors in some sorted order
</TD></TR><TR><TD>
-square
</TD><TD>
Produces a (more or less) square output file, instead of putting all colors on the top row
</TD></TR></TABLE>
<P>All flags can be abbreviated to their shortest unique prefix.
</P>
<P><B>
WARNING
</B></P>
<P>If you want to use the output file as a mapfile for
ppmtogif, you first have to do a ppmquant 256 because
ppmtomap is not limited to 256 colors (but to 65536).
</P>
<P><B>
SEE ALSO
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmtogif(1), ppmquant(1), ppm(5)
</PRE>
<!-- END CODE SNIP //-->
<P><B>
AUTHOR
</B>
</P>
<P>Marcel Wijkstra (wijkstra@fwi.uva.nl)<BR>
Copyright" 1989 by Jef Poskanzer.
</P>
<P>11 August 1993
</P>
<H3><A NAME="ch01_ 318">
ppmtomitsu
</A></H3>
<P>ppmtomitsu—Convert a portable pixmap to a Mitsubishi S340-10 file
</P>
<P><B>
SYNOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmtomitsu [-sharpness val][-enlarge val][-media string][-copy val]
[-dpi300][-tiny] [ppmfile]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>ppmtomitsu reads a portable pixmap as input and converts it into a format suitable to be printed by a Mitsubishi
S340-10 printer, or any other Mitsubishi color sublimation printer.
</P>
<P>The Mitsubishi S340-10 Color Sublimation printer supports 24-bit color. Images of the available sizes take so long
to transfer that there is a fast method, employing a lookup table that
ppmtomitsu will use if there is a maximum of 256 colors
in the pixmap. ppmtomitsu will try to position your image to the center of the paper, and will rotate your image for you if
xsize is larger than ysize. If your image is larger than the media allows,
ppmtomitsu will quit with an error message. (We
decided that the media were too expensive to have careless users produce misprints.) After data transmission has started, the job
can't be stopped in a sane way without resetting the printer. The printer understands putting together images in the
printer's memory; ppmtomitsu doesn't utilize this as
pnmcat and so on provide the same functionality and let you view the
result onscreen, too. The S340-10 is the lowest common denominator printer; for higher resolution printers, there's the
dpi300 option. The other printers also support higher values for
enlarge eg, but I don't think that's essential enough to warrant
a change in the program.
</P>
<TABLE>
<TR><TD>
-sh arpness 1-4
</TD><TD>
Sharpness designation. Default is to use the current sharpness.
</TD></TR><TR><TD>
-enlarge 1-3
</TD><TD>
Enlarge by a factor; default is
1 (no enlarge)
</TD></TR><TR><TD>
-media A, A4, AS, A4S
</TD><TD>
Designate the media you're using. Default is
1184 x 1350, which will fit on any media. A is 1216
x 1350, A4 is 1184 x 1452, AS is 1216 x 1650, and A4S is
1184 x 1754. A warning: If you specify a different media than the printer currently has, the printer will wait until you put in the
correct media or switch it off.
</TD></TR><TR><TD>
-copy 1-9
</TD><TD>
The number of copies to produce. Default is
1.
</TD></TR><TR><TD>
-dpi300
</TD><TD>
Double the number of allowed pixels for a S3600-30 Printer in S340-10 compatibility mode.
(The S3600-30 has 300dpi.)
</TD></TR></TABLE>
<A NAME="PAGENUM-421"><P>Page 421</P></A>
<TABLE>
<TR><TD>
-tiny
</TD><TD>
Memory-safing, but always slow. The printer will get the data line-by-line in 24-bit. It's probably
a good idea to use this if your machine starts paging a lot without this option.
</TD></TR></TABLE>
<P><B>
REFERENCES
</B>
</P>
<P>Mitsubishi Sublimation Full Color Printer S340-10; Specifications of Parallel Interface LSP-F0232F
</P>
<P><B>
SEE ALSO
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmquant(1), pnmscale(1), ppm(5)
</PRE>
<!-- END CODE SNIP //-->
<P><B>
BUGS
</B>
</P>
<P>We didn't find any—yet. Besides, they're called features anyway :-) If you should find one, please e-mail me at the
following address.
</P>
<P><B>
AUTHOR
</B>
</P>
<P>Copyright" 1992, 1993 by S. Petra Zeidler, MPIFR Bonn, Germany
(spz@specklec.mpifr-bonn.mpg.de).
</P>
<P>29 January 1992
</P>
<H3><A NAME="ch01_ 319">
ppmtopcx
</A></H3>
<P>ppmtopcx—Convert a portable pixmap into a PCX file
</P>
<P><B>
SYNOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmtopcx [ppmfile]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>ppmtopcx reads a portable pixmap as input and produces a PCX file as output.
</P>
<P><B>
SEE ALSO
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
pcxtoppm(1), ppm(5)
</PRE>
<!-- END CODE SNIP //-->
<P><B>
AUTHOR
</B>
</P>
<P>Copyright " 1990 by Michael Davidson.
</P>
<P>9 April 1990
</P>
<H3><A NAME="ch01_ 320">
ppmtopgm
</A></H3>
<P>ppmtopgm—Convert a portable pixmap into a portable graymap
</P>
<P><B>
SYNOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmtopgm [ppmfile]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>ppmtopgm reads a portable pixmap as input and produces a portable graymap as output. The quantization formula used is<BR>
.299 r + .587 g + .114 b.
</P>
<P>Note that although there is a pgmtoppm program, it is not necessary for simple conversions from
pgm to ppm, because any ppm program can read pgm (and
pbm ) files automagically. pgmtoppm is for colorizing a
pgm file. Also, see ppmtorgb3 for a different way of converting color to gray.
</P>
<A NAME="PAGENUM-422"><P>Page 422</P></A>
<P><B>
QUOTE
</B></P>
<P>Cold-hearted orb that rules the night<BR>
Removes the colors from our sight<BR>
Red is gray, and yellow white<BR>
But we decide which is right<BR>
And which is a quantization error.<BR>
</P>
<P><B>
SEE ALSO
</B>
</P>
<!-- CODE SNIP //-->
<PRE>pgmtoppm(1), ppmtorgb3(1), rgb3toppm(1), ppm(5),
pgm(5)
</PRE>
<!-- END CODE SNIP //-->
<P><B>
AUTHOR
</B>
</P>
<P>Copyright" 1989 by Jef Poskanzer.
</P>
<P>23 December 1988
</P>
<H3><A NAME="ch01_ 321">
ppmtopi1
</A></H3>
<P>ppmtopi1—Convert a portable pixmap into an Atari Degas PI1 file
</P>
<P><B>
SYNOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmtopi1 [ppmfile]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>ppmtopi1 reads a portable pixmap as input and produces an Atari Degas PI1 file as output.
</P>
<P><B>
SEE ALSO
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
pi1toppm(1), ppm(5), pbmtopi3(1), pi3topbm(1)
</PRE>
<!-- END CODE SNIP //-->
<P><B>
AUTHOR
</B>
</P>
<P>Copyright" 1991 by Steve Belczyk
(seb3@gte.com) and Jef Poskanzer.
</P>
<P>19 July 1990
</P>
<H3><A NAME="ch01_ 322">
ppmtopict
</A></H3>
<P>ppmtopict—Convert a portable pixmap into a Macintosh PICT file
</P>
<P><B>
SYNOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
ppmtopict [ppmfile]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>ppmtopict reads a portable pixmap as input and produces a Macintosh PICT file as output.
</P>
<P>The generated file is only the data fork of a picture. You will need a program such as
mcvert to generate a Macbinary or a BinHex file that contains the necessary information to identify the file as a PICT file to MacOS.
</P>
<P>Even though PICT supports 2 and 4 bits per pixel,
ppmtopict always generates an 8-bits-per-pixel file.
</P>
<P><B>
BUGS
</B>
</P>
<P>The picture size field is only correct if the output is to a file because writing into this field requires seeking backwards on
a file. However, the PICT documentation seems to suggest that this field is not critical anyway because it is only the lower
16 bits of the picture size.
</P>
<P><CENTER>
<a href="0418-0419.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0423-0425.html">Next</A></CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -