summaryrefslogtreecommitdiffstats
path: root/tkimg/doc/img-sun.man
blob: 2db788886d186f82143a067a4c9216fd9a5ab2cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[comment {-*- tcl -*- doctools}]
[vset FORMATNAME sun]
[vset FORMATFULLNAME {Sun Raster Format}]

[include format-header.inc]

This handler provides new additional configuration options. See
section [sectref {SUN OPTIONS}] for more detailed explanations.


[include format-middle.inc]

In addition the value for the option is treated as list and may
contain any of the special options listed in section

[sectref {SUN OPTIONS}].

[list_end]


[section {SUPPORTED SUN TYPES}]

[example_begin]
  1-bit pixels: Black and White.
  8-bit pixels: Grayscale or indexed.
 24-bit pixels: True-color (RGB, each channel 8 bit).
 32-bit pixels: True-color with alpha channel (RGBA, each channel 8 bit).

 List of currently supported features:

 Type   |     Read      |     Write     |
        | -file | -data | -file | -data |
 ----------------------------------------
  1-bit | Yes   | Yes   | No    | No    |
  8-bit | Yes   | Yes   | No    | No    |
 24-bit | Yes   | Yes   | Yes   | Yes   |
 32-bit | Yes   | Yes   | Yes   | Yes   |

 All images types may be either uncompressed or run-length encoded.
[example_end]


[section {SUN OPTIONS}]

The handler provides the following options:

[list_begin definitions]

[lst_item "[option -verbose] [arg bool]"]

This option is supported for reading and writing.
[nl]
If set to [const true], additional information about the loaded/stored image
is printed to stdout. Default is [const false].

[lst_item "[option -compression] [arg type]"]

This option is supported for writing only.
[nl]
Set the compression mode to either [const none] or [const rle].
Default is [const rle].

[lst_item "[option -matte] [arg bool]"]

This option is supported for reading and writing.
[nl]
If set to [const false], a matte (alpha) channel is ignored
during reading or writing. Default is [const true].

[list_end]

[list_begin definitions]
[include format-footer.inc]