Optional parameters for getImageRgbAverages.

interface ImageRgbAveragesOptions {
    maxPixelsToProcess?: number;
    noHardwareAcceleration?: boolean;
    writeImage?: boolean;
    writePlanes?: boolean;
}

Properties

maxPixelsToProcess?: number

Maximum number of pixels to process, it that's more than contained in the image then sub-sampling is applied.

noHardwareAcceleration?: boolean

Disable using vector processor on iOS to convert image to RGB. iOS only.

writeImage?: boolean

Output image to file. Android only. Images are usually stored in Android\data\{applicationId}\files\Pictures.

writePlanes?: boolean

Output YUV planes to files. Android only.

Generated using TypeDoc