Namespace

CdkPixdata – 2.0

Inline image data

Version2.44.5
AuthorsCTK Development Team
LicenseGPL-2.1-or-later
Websitehttps://github.com/cafe-desktop/ctk
Sourcehttps://gitlab.gnome.org/GNOME/cdk-pixbuf/

Build

C headerscdk-pixbuf/cdk-pixdata.h
pkg-config filescdk-pixbuf-2.0

Dependencies

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

Structs

Pixdata

A pixel buffer suitable for serialization and streaming.

deprecated: 2.32 

Bitfields

PixdataDumpType

An enumeration which is used by cdk_pixdata_to_csource() to determine the form of C source to be generated. The three values CDK_PIXDATA_DUMP_PIXDATA_STREAM, CDK_PIXDATA_DUMP_PIXDATA_STRUCT and CDK_PIXDATA_DUMP_MACROS are mutually exclusive, as are CDK_PIXBUF_DUMP_GTYPES and CDK_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 CdkPixdata 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 CdkPixdata to a CdkPixbuf.

deprecated: 2.32 

Constants

PIXBUF_MAGIC_NUMBER

Magic number for CdkPixdata structures.

PIXDATA_HEADER_LENGTH

The length of a CdkPixdata structure without the pixel_data pointer.

deprecated: 2.32