1Ppmtospu User Manual(0) Ppmtospu User Manual(0)
2
3
4
6 ppmtospu - convert a PPM image to an Atari Spectrum 512 image
7
8
10 ppmtospu
11
12 [-d0|-d2|-d4] [ppmfile]
13
14 All options can be abbreviated to their shortest unique prefix. You
15 may use two hyphens instead of one. You may separate an option name
16 and its value with white space instead of an equals sign.
17
18
20 This program is part of Netpbm(1).
21
22 This program converts from the PPM format to the uncompressed Spectrum
23 512 image format used on Atari ST computers.
24
25 Input comes from the file you name with the ppmfile argument, or Stan‐
26 dard Input by default. Output goes to Standard Output.
27
28 The input must be 320 pixels wide by 200 pixels high. If you have an
29 image of a different size, you can use pamcut or pamscale to force it
30 to these dimensions.
31
32
33
35 -d0 The program does no dithering.
36
37
38 -d2 The program uses a 2x2 ordered dither.
39
40 This is the default.
41
42
43 -d4 The program uses a 4x4 ordered dither.
44
45
46
47
48
50 sputoppm(1), spctoppm(1), pamscale(1), pamcut(1), ppm(1)
51
52
53
55 Copyright (C) 1990 by Steve Belczyk
56
57
58
60 This program was new in Netpbm 10.58 (March 2012).
61
62 But it was written in 1990. Steve Belczyk posted it along with
63 sputoppm, spctoppm, pi1toppm, and pi1toppm - all programs for dealing
64 with Atari image formats - to comp.sources.misc on July 15, 1990. For
65 reasons that have been lost to history, all of these entered the Netpbm
66 (then Pbmplus) distribution except ppmtospu.
67
68 Georges Kesseler wondered In March 2012 why there was no counterpart to
69 sputoppm in Netpbm and searched the web, finding only one reference to
70 ppmtopsu: the 1990 comp.sources.misc posting, including the source
71 code. He emailed the Netpbm maintainer suggesting it be added.
72
73 Bryan Henderson found the source code to be extremely primitive, not
74 even using common library code. So Bryan completely recoded it, but
75 retained nearly all of the original logic.
76
78 This manual page was generated by the Netpbm tool 'makeman' from HTML
79 source. The master documentation is at
80
81 http://netpbm.sourceforge.net/doc/ppmtospu.html
82
83netpbm documentation 08 March 2012 Ppmtospu User Manual(0)