23 lines
284 B
C++
23 lines
284 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <cstdint>
|
|
|
|
namespace pdfengine {
|
|
|
|
enum class ColorSpace {
|
|
DeviceGray,
|
|
DeviceRGB,
|
|
DeviceCMYK,
|
|
Indexed
|
|
};
|
|
|
|
struct ImageInfo {
|
|
int width = 0;
|
|
int height = 0;
|
|
int channels = 4;
|
|
std::vector<uint8_t> pixelData;
|
|
};
|
|
|
|
}
|