CdkPixdata.PixdataDumpType
Description: Reference for CdkPixdata.PixdataDumpType

### Enumeration

# CdkPixdataPixdataDumpType

deprecated: 2.32

#### Declaration

    flags CdkPixdata.PixdataDumpType

#### Description [src]

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 since: 2.32

Please do not use it in newly written code.

#### Members

`CDK_PIXDATA_DUMP_PIXDATA_STREAM`

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

  - Value: `0`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_PIXDATA_STRUCT`

  Generate `CdkPixdata` structure (needs the `CdkPixdata` structure definition from cdk-pixdata.h).

  - Value: `1`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_MACROS`

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

  - Value: `2`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_GTYPES`

  Generate GLib data types instead of standard C data types.

  - Value: `0`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_CTYPES`

  Generate standard C data types instead of GLib data types.

  - Value: `256`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_STATIC`

  Generate static symbols.

  - Value: `512`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_CONST`

  Generate const symbols.

  - Value: `1024`
  - Available since: 2.0
`CDK_PIXDATA_DUMP_RLE_DECODER`

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

  - Value: `65536`
  - Available since: 2.0