Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PixelFormat Enumeration

Namespace: id3.Document

## Definition

Enumerates supported pixel formats.
Python

    class PixelFormat

Dart

    enum PixelFormat

C#

    public enum PixelFormat

Java

    public enum PixelFormat

Swift

    public enum PixelFormat

C

    typedef enum id3DocumentPixelFormat

## Fields

Name | Value | Description
--- | --- | ---
`undefined` | 0 | Undefined.
`grayscale8Bits` | 10 | 8-bits grayscale.
`grayscale16Bits` | 20 | 16-bits grayscale.
`grayscaleFloat` | 25 | Floating point grayscale.
`bgr24Bits` | 30 | 24 bits BGR.
`rgb24Bits` | 31 | 24 bits RGB.
`bgra` | 32 | 32 bits BGRA.
`rgba` | 33 | 32 bits RGBA.
`nv12` | 40 | NV12 (YUV semi-planar format).
`i420` | 41 | I420 (YUV packed format).
`yuy2` | 42 | YUY2 (YUV packed format).
`yv12` | 43 | YV12 (YUV packed format).