-->
Page 420
OPTIONS
-sort | Produces a portable pixmap with the colors in some sorted order |
-square | Produces a (more or less) square output file, instead of putting all colors on the top row |
All flags can be abbreviated to their shortest unique prefix.
WARNING
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).
SEE ALSO
ppmtogif(1), ppmquant(1), ppm(5)
AUTHOR
Marcel Wijkstra (wijkstra@fwi.uva.nl)
Copyright" 1989 by Jef Poskanzer.
11 August 1993
ppmtomitsuConvert a portable pixmap to a Mitsubishi S340-10 file
SYNOPSIS
ppmtomitsu [-sharpness val][-enlarge val][-media string][-copy val] [-dpi300][-tiny] [ppmfile]
DESCRIPTION
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.
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.
-sh arpness 1-4 | Sharpness designation. Default is to use the current sharpness. |
-enlarge 1-3 | Enlarge by a factor; default is 1 (no enlarge) |
-media A, A4, AS, A4S | 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. |
-copy 1-9 | The number of copies to produce. Default is 1. |
-dpi300 | Double the number of allowed pixels for a S3600-30 Printer in S340-10 compatibility mode. (The S3600-30 has 300dpi.) |
Page 421
-tiny | 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. |
REFERENCES
Mitsubishi Sublimation Full Color Printer S340-10; Specifications of Parallel Interface LSP-F0232F
SEE ALSO
ppmquant(1), pnmscale(1), ppm(5)
BUGS
We didn't find anyyet. Besides, they're called features anyway :-) If you should find one, please e-mail me at the following address.
AUTHOR
Copyright" 1992, 1993 by S. Petra Zeidler, MPIFR Bonn, Germany (spz@specklec.mpifr-bonn.mpg.de).
29 January 1992
ppmtopcxConvert a portable pixmap into a PCX file
SYNOPSIS
ppmtopcx [ppmfile]
DESCRIPTION
ppmtopcx reads a portable pixmap as input and produces a PCX file as output.
SEE ALSO
pcxtoppm(1), ppm(5)
AUTHOR
Copyright " 1990 by Michael Davidson.
9 April 1990
ppmtopgmConvert a portable pixmap into a portable graymap
SYNOPSIS
ppmtopgm [ppmfile]
DESCRIPTION
ppmtopgm reads a portable pixmap as input and produces a portable graymap as output. The quantization formula used is
.299 r + .587 g + .114 b.
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.
Page 422
QUOTE
Cold-hearted orb that rules the night
Removes the colors from our sight
Red is gray, and yellow white
But we decide which is right
And which is a quantization error.
SEE ALSO
pgmtoppm(1), ppmtorgb3(1), rgb3toppm(1), ppm(5), pgm(5)
AUTHOR
Copyright" 1989 by Jef Poskanzer.
23 December 1988
ppmtopi1Convert a portable pixmap into an Atari Degas PI1 file
SYNOPSIS
ppmtopi1 [ppmfile]
DESCRIPTION
ppmtopi1 reads a portable pixmap as input and produces an Atari Degas PI1 file as output.
SEE ALSO
pi1toppm(1), ppm(5), pbmtopi3(1), pi3topbm(1)
AUTHOR
Copyright" 1991 by Steve Belczyk (seb3@gte.com) and Jef Poskanzer.
19 July 1990
ppmtopictConvert a portable pixmap into a Macintosh PICT file
SYNOPSIS
ppmtopict [ppmfile]
DESCRIPTION
ppmtopict reads a portable pixmap as input and produces a Macintosh PICT file as output.
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.
Even though PICT supports 2 and 4 bits per pixel, ppmtopict always generates an 8-bits-per-pixel file.
BUGS
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.