Penguin
Blame: gdk-pixbuf-csource(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of gdk-pixbuf-csource(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 GDK-PIXBUF-CSOURCE
2 !!!GDK-PIXBUF-CSOURCE
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 INVOCATION
7 SEE ALSO
8 BUGS
9 AUTHOR
10 ----
11 !!NAME
12
13
2 perry 14 gdk-pixbuf-csource - C code generation utility for !GdkPixbuf images
1 perry 15 !!SYNOPSIS
16
17
18 __gdk-pixbuf-csource__ [[''options'']
19 [[''image'']__
20 gdk-pixbuf-csource__ [[''options''] ''--build-list''
21 [[[[''name image'']...]
22 !!DESCRIPTION
23
24
25 __gdk-pixbuf-csource__ is a small utility that generates
26 C code containing images, useful for compiling images
27 directly into programs.
28 !!INVOCATION
29
30
31 __gdk-pixbuf-csource__ either takes as input one image
32 file name to generate code for, or, using the
33 ''--build-list'' option, a list of (''name'',
34 ''image'') pairs to generate code for a list of images
35 into named variables.
36
37
38 __Options__
39
40
41 ''--stream''
42
43
44 Generate pixbuf data stream (a single string containing a
2 perry 45 serialized !GdkPixdata structure in network byte
1 perry 46 order).
47
48
49 ''--struct''
50
51
2 perry 52 Generate !GdkPixdata structure (needs the !GdkPixdata
1 perry 53 structure definition from gdk-pixdata.h).
54
55
56 ''--macros''
57
58
59 Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL
60 and *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for
61 the image.
62
63
64 ''--rle''
65
66
67 Enables run-length encoding for the generated pixel data
68 (default).
69
70
71 ''--raw''
72
73
74 Disables run-length encoding for the generated pixel
75 data.
76
77
78 ''--extern''
79
80
81 Generate extern symbols.
82
83
84 ''--static''
85
86
87 Generate static symbols (default).
88
89
90 ''--decoder''
91
92
93 Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size,
94 bpp) macro definition to decode run-length encoded image
95 data.
96
97
98 ''--name=identifier''
99
100
101 Specifies the identifier name (prefix) for the generated
102 variables or macros (useful only if ''--build-list'' was
103 not specified).
104
105
106 ''--build-list''
107
108
109 Enables (''name'', ''image'') pair parsing
110 mode.
111
112
113 ''-h, --help''
114
115
116 Print brief help and exit.
117
118
119 ''-v, --version''
120
121
122 Print version and exit.
123
124
125 ''--g-fatal-warnings''
126
127
128 Make warnings fatal (causes the program to
129 abort).
130 !!SEE ALSO
131
132
2 perry 133 The ''!GdkPixbuf'' documentation, shipped with the
1 perry 134 ''Gtk+'' distribution, available from
135 ''http://www.gtk.org''.
136 !!BUGS
137
138
139 None known yet.
140 !!AUTHOR
141
142
143 __gdk-pixbuf-csource__ was written by Tim Janik
144 __
145
146
147 This manual page was provided by Tim Janik
148 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.