Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 3.16 KB

File metadata and controls

40 lines (32 loc) · 3.16 KB

Openize.Heic.Decoder.HeicImageFrame

Heic image frame class. Contains hevc coded data or meta data.

Properties

Name Type Description Notes
ID uint The unique identifier of the image frame.
ImageType ImageFrameType Type of an image frame content.
Width uint Width of the image frame in pixels.
Height uint Height of the image frame in pixels.
HasAlpha bool Indicates the presence of transparency of transparency layer.
True if frame is linked with alpha data frame, false otherwise.
IsHidden bool Indicates the fact that frame is marked as hidden.
True if frame is hidden, false otherwise.
IsImage bool Indicates the fact that frame contains image data.
True if frame is image, false otherwise.
IsDerived bool Indicates the fact that frame contains image transform data and is inherited from another frame(-s).
True if frame is derived, false otherwise.
DerivativeType BoxType? Indicates the type of derivative content if the frame is derived.
AuxiliaryReferenceType AuxiliaryReferenceType Indicates the type of auxiliary reference layer if the frame type is auxiliary.
NumberOfChannels byte Number of channels with color data.
BitsPerChannel byte[] Bits per channel with color data.

Methods

Name Type Description Parameters
GetByteArray byte[] Get pixel data in the format of byte array.
Each three or four bytes (the count depends on the pixel format) refer to one pixel left to right top to bottom line by line.
Returns null if frame does not contain image data.
PixelFormat pixelFormat - Pixel format that defines the order of colors and the presence of alpha byte.
Rectangle boundsRectangle - Bounds of the requested area.
GetInt32Array int[] Get pixel data in the format of integer array.
Each int value refers to one pixel left to right top to bottom line by line.
Returns null if frame does not contain image data.
PixelFormat pixelFormat - Pixel format that defines the order of colors.
Rectangle boundsRectangle - Bounds of the requested area.
GetTextData string Get frame text data.
Exists only for mime frame types.
ToString string Returns a string representation of the object.

Fields

Name Type Description Notes
hvcConfig HEVCDecoderConfigurationRecord Hevc decoder configuration information from Isobmff container.
rawPixels byte[][,] Raw YUV pixel data, used when bit depth is less or equal 8.
Multidimantional array: chroma or luma index, then two-dimentional array with x and y navigation.
rawPixelsHighColorRange ushort[][,] Raw YUV pixel data, used when bit depth is greater than 8.
Multidimantional array: chroma or luma index, then two-dimentional array with x and y navigation.

[Back to API_README]