18 lines
549 B
C
18 lines
549 B
C
/*
|
|
* TinyBlocks - tb_bmp.h
|
|
* Library tinyblocks-bmp: carrega/grava bitmap BMP (BITMAPINFOHEADER, BI_RGB)
|
|
* de 24 e 32 bits como TinyBlocks_Image (TB_VALUE_IMAGE).
|
|
*/
|
|
#ifndef TINYBLOCKS_BMP_H
|
|
#define TINYBLOCKS_BMP_H
|
|
|
|
#include <tinyblocks/tinyblocks.h>
|
|
|
|
TB_API const TinyBlocks_LibraryDescriptor* tb_bmp_get_library(void);
|
|
|
|
TB_API TinyBlocks_Image* tb_bmp_load(const char* path);
|
|
TB_API bool tb_bmp_save(const TinyBlocks_Image* img, const char* path);
|
|
TB_API const char* tb_bmp_last_error(void);
|
|
|
|
#endif /* TINYBLOCKS_BMP_H */
|