44 uint16_t numColorPlanes;
49 uint32_t numImportantColors;
68 void load(
void* pixels,
const uint32_t pixelsSizeInBytes);
Toolset to load and store images in BMP format.
int32_t getHeight() const
static const Header BMP_HEADER_REFERENCE
struct __attribute__((packed))
void load(void *pixels, const uint32_t pixelsSizeInBytes)
Loads the content of the file into memory.
static void save(const void *pixels, int32_t width, int32_t height, uint8_t bpp, const char *filename)
Stores an image into a BMP file.
BmpFile(const char *filename)
uint8_t getBitsPerPixel() const
JNIEnv jlong jstring filename