1Ppmtospu User Manual(0)                                Ppmtospu User Manual(0)
2
3
4

NAME

6       ppmtospu - convert a PPM image to an Atari Spectrum 512 image
7
8

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

35       In  addition  to  the options common to all programs based on libnetpbm
36       (most notably -quiet, see
37        Common Options ⟨index.html#commonoptions⟩ ), ppmtospu  recognizes  the
38       following command line options:
39
40
41
42       -d0    The program does no dithering.
43
44
45       -d2    The program uses a 2x2 ordered dither.
46
47              This is the default.
48
49
50       -d4    The program uses a 4x4 ordered dither.
51
52
53
54
55

SEE ALSO

57       sputoppm(1), spctoppm(1), pamscale(1), pamcut(1), ppm(1)
58
59
60

AUTHOR

62       Copyright (C) 1990 by Steve Belczyk
63
64
65

HISTORY

67       This program was new in Netpbm 10.58 (March 2012).
68
69       But  it  was  written  in  1990.   Steve  Belczyk  posted it along with
70       sputoppm, spctoppm, pi1toppm, and pi1toppm - all programs  for  dealing
71       with  Atari image formats - to comp.sources.misc on July 15, 1990.  For
72       reasons that have been lost to history, all of these entered the Netpbm
73       (then Pbmplus) distribution except ppmtospu.
74
75       Georges Kesseler wondered In March 2012 why there was no counterpart to
76       sputoppm in Netpbm and searched the web, finding only one reference  to
77       ppmtopsu:  the  1990  comp.sources.misc  posting,  including the source
78       code.  He emailed the Netpbm maintainer suggesting it be added.
79
80       Bryan Henderson found the source code to be  extremely  primitive,  not
81       even  using  common  library code.  So Bryan completely recoded it, but
82       retained nearly all of the original logic.
83

DOCUMENT SOURCE

85       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
86       source.  The master documentation is at
87
88              http://netpbm.sourceforge.net/doc/ppmtospu.html
89
90netpbm documentation             08 March 2012         Ppmtospu User Manual(0)
Impressum