1img-pcx(n)                            Img                           img-pcx(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       img-pcx - Img, Paintbrush Format (pcx)
9

SYNOPSIS

11       package require Tk
12
13       package require img::pcx  ?1.4?
14
15       image create photo ?name? ?options?
16
17______________________________________________________________________________
18

DESCRIPTION

20       The  package  img::pcx  is  a sub-package of Img. It can be loaded as a
21       part of the complete Img support, via package require Img,  or  on  its
22       own, via package require img::pcx.
23
24       Like  all packages of Img it does not provide new commands, but extends
25       the existing Tk command image so  that  it  supports  files  containing
26       raster  images  in  the  Paintbrush  Format  (pcx).  More  specifically
27       img::pcx extends Tk's photo image type.
28
29       The name of the new format handler is pcx.  This handler  provides  new
30       additional  configuration  options.  See  section  PCX OPTIONS for more
31       detailed explanations.
32
33       All of the above means that in a call like
34
35       image create photo ?name? ?options?
36
37       [1]    Image data in pcx format (options -data and -file)  is  detected
38              automatically.
39
40       [2]    The  format  name  pcx  is recognized by the option -format.  In
41              addition the value for the option is treated  as  list  and  may
42              contain  any  of  the  special  options  listed  in  section PCX
43              OPTIONS.
44

SUPPORTED PCX TYPES

46                1-bit pixels: Black and White.
47                8-bit pixels: Grayscale or indexed.
48               24-bit pixels: True-color (RGB, each channel 8 bit).
49
50               List of currently supported features:
51
52               Type   |     Read      |     Write     |
53                      | -file | -data | -file | -data |
54               ----------------------------------------
55                1-bit | Yes   | Yes   | No    | No    |
56                8-bit | Yes   | Yes   | No    | No    |
57               24-bit | Yes   | Yes   | Yes   | Yes   |
58
59               All images types may be either uncompressed or run-length encoded.
60
61

PCX OPTIONS

63       The handler provides the following options:
64
65       -verbose bool
66              This option is supported for reading and writing.
67
68              If set to true, additional information about  the  loaded/stored
69              image is printed to stdout. Default is false.
70
71       -compression type
72              This option is supported for writing only.
73
74              Set the compression mode to either none or rle.  Default is rle.
75

SEE ALSO

77       img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-
78       pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi,  img-sun,  img-tga,
79       img-tiff, img-window, img-xbm, img-xpm
80

KEYWORDS

82       image handling, pcx, tk
83
85       Copyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
86
87
88
89
90img-pcx                               1.4                           img-pcx(n)
Impressum