1img-pcx(n)                            Img                           img-pcx(n)
2
3
4

NAME

6       img-pcx - Img, Paintbrush Format (pcx)
7

SYNOPSIS

9       package require Tk
10
11       package require img::pcx  ?1.4?
12
13       image create photo ?name? ?options?
14
15

DESCRIPTION

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

SUPPORTED PCX TYPES

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

PCX OPTIONS

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

SEE ALSO

74       img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-
75       pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi,  img-sun,  img-tga,
76       img-tiff, img-window, img-xbm, img-xpm
77

KEYWORDS

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