Namespace

GdkPixdata – 2.0

Inline image data

Version2.42.10
AuthorsGTK Development Team
LicenseGPL-2.1-or-later
Websitehttps://www.gtk.org
Sourcehttps://gitlab.gnome.org/GNOME/gdk-pixbuf/

Build

C headersgdk-pixbuf/gdk-pixdata.h
pkg-config filesgdk-pixbuf-2.0

Dependencies

GObject—2.0 The base type system library
Browse documentation
GdkPixbuf—2.0 Image loading library
Browse documentation

Additional documentation

Structs

Pixdata

A pixel buffer suitable for serialization and streaming.

deprecated: 2.32 

Bitfields

PixdataDumpType

An enumeration which is used by gdk_pixdata_to_csource() to determine the form of C source to be generated. The three values GDK_PIXDATA_DUMP_PIXDATA_STREAM, GDK_PIXDATA_DUMP_PIXDATA_STRUCT and GDK_PIXDATA_DUMP_MACROS are mutually exclusive, as are GDK_PIXBUF_DUMP_GTYPES and GDK_PIXBUF_DUMP_CTYPES. The remaining elements are optional flags that can be freely added.

deprecated: 2.32 

PixdataType

An enumeration containing three sets of flags for a GdkPixdata struct: one for the used colorspace, one for the width of the samples and one for the encoding of the pixel data.

deprecated: 2.32 

Functions

pixbuf_from_pixdata

Converts a GdkPixdata to a GdkPixbuf.

deprecated: 2.32 

Constants

PIXBUF_MAGIC_NUMBER

Magic number for GdkPixdata structures.

PIXDATA_HEADER_LENGTH

The length of a GdkPixdata structure without the pixel_data pointer.

deprecated: 2.32