class P1::ImageSdk::BitmapImage

Overview

In-memory representation of an RGB bitmap image. More…

#include <P1ImageBitmapImage.hpp>

class BitmapImage: public P1::ImageSdk::BitmapBase
{
public:
    // methods

    BitmapFormat Format() const;
    uint32_t Width() const;
    uint32_t Height() const;
    Rect SourceCrop() const;
};

Inherited Members

public:
    // methods

    uint32_t ByteSize() const;
    MSVC_ALLOW_PUBLIC_STL(std::shared_ptr<uint8_t>  Data());

Detailed Documentation

In-memory representation of an RGB bitmap image.

Methods

BitmapFormat Format() const

The pixel format of the Data array.

uint32_t Width() const

Image Width in pixels.

uint32_t Height() const

Image height in pixels.

Rect SourceCrop() const

If this image is cropped from a larger source image, this is the crop in source coordinates.