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;
    ColorSpace GetColorSpace() const;
    uint32_t Width() const;
    uint32_t Height() const;
    Rect SourceCrop() const;
};

// direct descendants

template <typename T>
class MutableBitmapImage;

Inherited Members

public:
    // methods

    int64_t ByteSize() const;
    uint32_t Stride() const;
    uint32_t BitsPerSample() const;
    uint32_t SamplesPerPixel() 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.