]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/gdk-pixbuf-csource.1
[quartz] Delete the typedef of GdkDevicePrivate
[~andy/gtk] / gdk-pixbuf / gdk-pixbuf-csource.1
1 .TH GDK-PIXBUF-CSOURCE 1 "04 Sep 2001"
2 .SH NAME
3 gdk-pixbuf-csource \- C code generation utility for GdkPixbuf images
4 .SH SYNOPSIS
5
6 \fBgdk-pixbuf-csource\fP [\fIoptions\fP] [\fIimage\fP]
7 .br
8 \fBgdk-pixbuf-csource\fP [\fIoptions\fP] \fI--build-list\fP [[\fIname image\fP]...]
9
10 .SH DESCRIPTION
11 \fBgdk-pixbuf-csource\fP is a small utility that generates C code containing
12 images, useful for compiling images directly into programs.
13
14 .SH INVOCATION
15
16 \fBgdk-pixbuf-csource\fP either takes as input one image file name to generate code
17 for, or, using the \fI--build-list\fP option, a list of (\fIname\fP, \fIimage\fP)
18 pairs to generate code for a list of images into named variables.
19
20 .SS Options
21 .TP
22 \fI--stream
23 Generate pixbuf data stream (a single string containing a serialized
24 GdkPixdata structure in network byte order).
25
26 .TP
27 \fI--struct
28 Generate GdkPixdata structure (needs the GdkPixdata structure definition from
29 gdk-pixdata.h).
30
31 .TP
32 \fI--macros
33 Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and
34 *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image.
35
36 .TP
37 \fI--rle
38 Enables run-length encoding for the generated pixel data (default).
39
40 .TP
41 \fI--raw
42 Disables run-length encoding for the generated pixel data.
43
44 .TP
45 \fI--extern
46 Generate extern symbols.
47
48 .TP
49 \fI--static
50 Generate static symbols (default).
51
52 .TP
53 \fI--decoder
54 Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition
55 to decode run-length encoded image data.
56
57 .TP
58 \fI--name=identifier
59 Specifies the identifier name (prefix) for the generated variables or
60 macros (useful only if \fI--build-list\fP was not specified).
61
62 .TP
63 \fI--build-list
64 Enables (\fIname\fP, \fIimage\fP) pair parsing mode.
65
66 .TP
67 \fI-h, --help\fP 
68 Print brief help and exit.
69
70 .TP
71 \fI-v, --version\fP
72 Print version and exit.
73
74 .TP
75 \fI--g-fatal-warnings
76 Make warnings fatal (causes the program to abort).
77
78 .PP
79
80 .SH SEE ALSO
81 The \fIGdkPixbuf\fP documentation, shipped with the \fIGtk+\fP distribution,
82 available from \fIhttp://www.gtk.org\fP.
83
84 .SH BUGS 
85 None known yet.
86
87 .SH AUTHOR
88 .B gdk-pixbuf-csource
89 was written by Tim Janik <timj@gtk.org>.
90 .PP
91 This manual page was provided by Tim Janik <timj@gtk.org>.