frame-msg
    Preparing search index...

    Interface RxPhotoOptions

    Configuration options for the RxPhoto class.

    interface RxPhotoOptions {
        finalChunkMsgCode?: number;
        isRaw?: boolean;
        nonFinalChunkMsgCode?: number;
        quality?: null | JpegQuality;
        resolution?: null | number;
        upright?: boolean;
    }
    Index

    Properties

    finalChunkMsgCode?: number

    Optional msgCode indicating the final photo data chunk. Defaults to 0x08.

    isRaw?: boolean

    Optional msgCode indicating if the photo data is raw (headerless JPEG). Defaults to false.

    nonFinalChunkMsgCode?: number

    Optional msgCode indicating a non-final photo data chunk. Defaults to 0x07.

    quality?: null | JpegQuality

    Optional JPEG quality setting. Required for raw images if header is not cached.

    resolution?: null | number

    Optional photo resolution (e.g., height in pixels). Must be an even number between 100 and 720. Required for raw images if header is not cached.

    upright?: boolean

    Optional msgCode to rotate the image to be upright. Defaults to true.