Adiciona tinyblocks-jpg (libjpeg, build condicional) e melhora o empacotamento AppImage
This commit is contained in:
1 parent
714186a1a1
commit
e36fbc43e1
6 files changed
+337
-7
No files matched your search
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* TinyBlocks - tb_jpg.h
|
||||
* Library tinyblocks-jpg: carrega/grava JPEG (dependencia de terceiros:
|
||||
* libjpeg). As imagens entram/saem como TinyBlocks_Image (TB_VALUE_IMAGE).
|
||||
*/
|
||||
#ifndef TINYBLOCKS_JPG_H
|
||||
#define TINYBLOCKS_JPG_H
|
||||
|
||||
#include <tinyblocks/tinyblocks.h>
|
||||
|
||||
TB_API const TinyBlocks_LibraryDescriptor* tb_jpg_get_library(void);
|
||||
|
||||
TB_API TinyBlocks_Image* tb_jpg_load(const char* path);
|
||||
TB_API bool tb_jpg_save(const TinyBlocks_Image* img, const char* path, int quality);
|
||||
TB_API const char* tb_jpg_last_error(void);
|
||||
|
||||
#endif /* TINYBLOCKS_JPG_H */
|
||||
Reference in new issue
Block a user