Captured Image
Defined in package com.scandit.datacapture.core
- CapturedImage
class CapturedImageAdded in version 8.6.0
An image produced by the SDK — for example a frame’s image, the face / document crop of a captured ID, or a barcode produced by
Generate. Exposes the raw RGBA pixels with no PNG/JPEG/base64 encoding cost. For an image you provide to the SDK, use InputImage instead.- width
val width:
IntAdded in version 8.6.0
Image width in pixels.
- height
val height:
IntAdded in version 8.6.0
Image height in pixels.
- toRgbaBytes()
fun toRgbaBytes(): ByteArrayAdded in version 8.6.0
Returns the uncompressed pixels in RGBA8888 byte order (
width * height * 4bytes).