struct P1::CameraSdk::IStoredImageHandle::TileRequest

Overview

Input parameter for requesting a tile. More…

#include <C_P1CameraCommonStructs.h>

struct TileRequest
{
    // fields

    uint32_t x;
    uint32_t y;
    uint32_t srcWidth;
    uint32_t srcHeight;
    float scaleFactor = 1.0;
    ImageFormat fileFormat = ImageFormat::JPEG;
};

Detailed Documentation

Input parameter for requesting a tile.

Parameters:

x

The horizontal pixel offset of the source crop

y

The vertical pixel offset of the source crop

src

Width The pixel width of the source crop

src

Height The pixel height of the source crop

scaleFactor

Optionally apply any down-scaling of the destination image tile: 0.0 < scaleFactor <= 1.0.

fileFormat

Optionally define another image encoding format, than RGB24