awtk/tools/image_gen/image_gen.h

35 lines
823 B
C
Raw Normal View History

2018-02-21 19:36:38 +08:00
/**
* File: image_gen.h
2018-05-15 09:31:58 +08:00
* Author: AWTK Develop Team
2018-02-21 19:36:38 +08:00
* Brief: bitmap image generator
*
2018-05-08 10:22:32 +08:00
* Copyright (c) 2018 - 2018 Guangzhou ZHIYUAN Electronics Co.,Ltd.
2018-02-21 19:36:38 +08:00
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* License file for more details.
*
*/
/**
* History:
* ================================================================
* 2018-01-27 Li XianJing <xianjimli@hotmail.com> created
*
*/
#ifndef IMAGE_GEN_H
#define IMAGE_GEN_H
#include "widgets/image.h"
2018-02-21 19:36:38 +08:00
BEGIN_C_DECLS
2018-03-19 07:19:25 +08:00
ret_t image_gen(bitmap_t* image, const char* output_filename);
2018-03-18 11:29:31 +08:00
uint32_t image_gen_buff(bitmap_t* image, uint8_t* output_buff, uint32_t buff_size);
2018-02-21 19:36:38 +08:00
END_C_DECLS
2018-03-19 07:19:25 +08:00
#endif /*IMAGE_GEN_H*/