## Uses of Class
eu.id3.document.PixelFormat

- - ### Uses of PixelFormat in eu.id3.document

    Methods in eu.id3.document that return PixelFormat
    Modifier and Type | Method and Description
    --- | ---
    `static PixelFormat` | PixelFormat.`fromValue(int value)` Creates an enumeration value from int.
    `PixelFormat` | DocumentImage.`getPixelFormat()` Gets the pixel format.
    `static PixelFormat` | PixelFormat.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static PixelFormat[]` | PixelFormat.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in eu.id3.document with parameters of type PixelFormat
    Modifier and Type | Method and Description
    --- | ---
    `static DocumentImage` | DocumentImage.`fromBuffer(byte[] data, PixelFormat pixelFormat)` Creates an Image from the specified data buffer.
    `static DocumentImage` | DocumentImage.`fromFile(java.lang.String filepath, PixelFormat pixelFormat)` Creates an Image from the specified file.
    `static DocumentImage` | DocumentImage.`fromRawBuffer(byte[] pixels, int width, int height, int stride, PixelFormat srcPixelFormat, PixelFormat dstPixelFormat)` Creates an Image from the specified raw data buffer.
    `static DocumentImage` | DocumentImage.`fromYuvPlanes(byte[] yPlane, byte[] uPlane, byte[] vPlane, int yWidth, int yHeight, int uvPixelStride, int uvRowStride, PixelFormat dstPixelFormat)` Creates an Image from the specified YUV planes.
    `void` | DocumentImage.`reallocate(int width, int height, PixelFormat pixelFormat)` Reallocates the internal memory of the Image from parameters.
    `void` | DocumentImage.`toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer)` Copies image pixels in the specified format into a buffer.

Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document