from small one page howto to huge articles all in one place
 

search text in:





Poll
Which linux distribution do you use?







poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

85653

userrating:

average rating: 1.7 (82 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

202094

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

84118

userrating:

average rating: 1.3 (27 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





GDK\-PIXBUF\-CSOURCE

Section: User Commands (1)
Updated:
Index Return to Main Contents
 

NAME

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

SYNOPSIS

gdk-pixbuf-csource [OPTION...] [IMAGE]
gdk-pixbuf-csource [OPTION...] --build-list [[NAME] [IMAGE]...]
 

DESCRIPTION

gdk-pixbuf-csource

is a small utility that generates C code containing images, useful for compiling images directly into programs.

gdk-pixbuf-csource either takes as input one image file name to generate code for, or, using the --build-list option, a list of (name, image) pairs to generate code for a list of images into named variables.  

OPTIONS

--stream

Generate pixbuf data stream (a single string containing a serialized GdkPixdata structure in network byte order).

--struct

Generate GdkPixdata structure (needs the GdkPixdata structure definition from gdk-pixdata.h).

--macros

Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image.

--rle

Enables run-length encoding for the generated pixel data (default).

--raw

Disables run-length encoding for the generated pixel data.

--extern

Generate extern symbols.

--static

Generate static symbols (default).

--decoder

Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition to decode run-length encoded image data.

--name=identifier

Specifies the identifier name (prefix) for the generated variables or macros (useful only if --build-list was not specified).

--build-list

Enables (name, image) pair parsing mode.

-h, --help

Print brief help and exit.

-v, --version

Print version and exit.

--g-fatal-warnings

Make warnings fatal (causes the program to abort).
 

SEE ALSO

The GdkPixbuf documentation, shipped with the Gtk+ distribution, available from m[blue]www.gtk.orgm[][1].  

BUGS

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

NOTES

1.
www.gtk.org
http://www.gtk.org


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
BUGS
NOTES


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2013 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 3.4 ms