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
74
75
76
77
78
79
80
81
82
83
|
.\" Manual page for xcfinfo
.\" This file was written by Henning Makholm <henning@makholm.net>
.\" It is hereby in the public domain.
.\"
.\" In jurisdictions that do not recognise grants of copyright to the
.\" public domain: I, the author and (presumably, in those jurisdictions)
.\" copyright holder, hereby permit anyone to distribute and use this code,
.\" in source code or binary form, with or without modifications. This
.\" permission is world-wide and irrevocable.
.\"
.\" Of course, I will not be liable for any errors or shortcomings in the
.\" code, since I give it away without asking any compenstations.
.\"
.\" If you use or distribute this code, I would appreciate receiving
.\" credit for writing it, in whichever way you find proper and customary.
.TH xcfinfo 1 2006-02-12 "Xcftools" ""
.SH NAME
xcfinfo \- display information about GIMP xcf files
.ds p xcfinfo
.SH SYNOPSIS
.B \*p
[
.I options
]
.I filename
.SH DESCRIPTION
.B xcfinfo
is a command-line tool that displays information about the contents of
image files in the XCF format used by
.BR gimp (1),
particularly about the layers in the image.
.SH OPTIONS
.so xcfinfo.1i
.SH OUTPUT
Information about the image is displayed on standard output in a fixed format.
The first line contains general information about the XCF file:
.TP 3
\-
The file format version
.TP
\-
The canvas size
.TP
\-
The image mode (color, grayscale, or indexed)
.TP
\-
The numer of layers
.TP
\-
The internal compression algorithm
.P
Following this line there is a line for each layer:
.TP 3
1)
The character
.B +
if the layer is visible and
.B \-
if it is not
.TP
2)
The size and offset of the layer
.TP
3)
The pixel format of the layer, including whether the
layer has an alpha channel.
.TP
4)
The layer mode, as well as the opacity if not 100%, and
.B /mask
if the layer has an active layer mask.
.TP
5)
The name of the layer.
.so exit.1i
.SH AUTHOR
.B \*p
was written by Henning Makholm <henning@makholm.net>.
.P
.SH SEE ALSO
.BR xcf2pnm (1),
.BR xcf2png (1)
|