Size

Function

Image size structure for image resizing. It stores the height and width of an image.

Structure Definition

struct Size {
    Size()
        : width(0), height(0) {};
    Size(const uint32_t inputWidth, const uint32_t inputHeight)
        : width(inputWidth), height(inputHeight) {};

    uint32_t width = 0;
    uint32_t height = 0;
};

Parameter Description

Parameter

Description

width, inputWidth

Image width

height, inputHeight

Image height