1GDK-PIXBUF-CSOURCE(1)            User Commands           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 [OPTION...] [IMAGE]
10
11       gdk-pixbuf-csource [OPTION...] --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
17       gdk-pixbuf-csource either takes as input one image file name to
18       generate code for, or, using the --build-list option, a list of (name,
19       image) pairs to generate code for a list of images into named
20       variables.
21

OPTIONS

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

SEE ALSO

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

BUGS

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

NOTES

77        1. www.gtk.org
78           http://www.gtk.org
79
80
81
82gdk-pixbuf                                               GDK-PIXBUF-CSOURCE(1)
Impressum