Adiciona tinyblocks-bmp e tinyblocks-png (libpng)
This commit is contained in:
1 parent
959a4027c3
commit
fca7aa2f63
11 files changed
+574
-6
No files matched your search
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* 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 */
|
||||
Reference in new issue
Block a user