1GDK-PIXBUF-CSOURCE(1)           [FIXME: manual]          GDK-PIXBUF-CSOURCE(1)
2
3
4

NAME

6       gdk-pixbuf-csource - C code generation utility for GdkPixbuf images
7

SYNOPSIS

9       gdk-pixbuf-csource [options] [image]
10
11       gdk-pixbuf-csource [options] --build-list [[name] [image]...]
12

DESCRIPTION

14       gdk-pixbuf-csource is a small utility that generates C code containing
15       images, useful for compiling images directly into programs.
16

INVOCATION

18       gdk-pixbuf-csource either takes as input one image file name to
19       generate code for, or, using the --build-list option, a list of (name,
20       image) pairs to generate code for a list of images into named
21       variables.
22
23   Options
24       --stream
25           Generate pixbuf data stream (a single string containing a
26           serialized GdkPixdata structure in network byte order).
27
28       --struct
29           Generate GdkPixdata structure (needs the GdkPixdata structure
30           definition from gdk-pixdata.h).
31
32       --macros
33           Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and
34           *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image.
35
36       --rle
37           Enables run-length encoding for the generated pixel data (default).
38
39       --raw
40           Disables run-length encoding for the generated pixel data.
41
42       --extern
43           Generate extern symbols.
44
45       --static
46           Generate static symbols (default).
47
48       --decoder
49           Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro
50           definition to decode run-length encoded image data.
51
52       --name=identifier
53           Specifies the identifier name (prefix) for the generated variables
54           or macros (useful only if --build-list was not specified).
55
56       --build-list
57           Enables (name, image) pair parsing mode.
58
59       -h, --help
60           Print brief help and exit.
61
62       -v, --version
63           Print version and exit.
64
65       --g-fatal-warnings
66           Make warnings fatal (causes the program to abort).
67

SEE ALSO

69       The GdkPixbuf documentation, shipped with the Gtk+ distribution,
70       available from www.gtk.org[1].
71

BUGS

73       The runlength encoder gets out of sync with the pixel boundaries, since
74       it includes the rowstride padding in the encoded stream. Furthermore,
75       it generates pixbufs with suboptimal rowstride in some cases.
76

AUTHOR

78       gdk-pixbuf-csource was written by Tim Janik timj@gtk.org.
79
80       This manual page was provided by Tim Janik timj@gtk.org.
81

NOTES

83        1. www.gtk.org
84           http://www.gtk.org
85
86
87
88[FIXME: source]                   12/16/2011             GDK-PIXBUF-CSOURCE(1)
Impressum