awtk/tools/image_gen/image_gen.h
2018-05-15 09:31:58 +08:00

35 lines
820 B
C

/**
* File: image_gen.h
* Author: AWTK Develop Team
* Brief: bitmap image generator
*
* Copyright (c) 2018 - 2018 Guangzhou ZHIYUAN Electronics Co.,Ltd.
*
* 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 "base/image.h"
BEGIN_C_DECLS
ret_t image_gen(bitmap_t* image, const char* output_filename);
uint32_t image_gen_buff(bitmap_t* image, uint8_t* output_buff, uint32_t buff_size);
END_C_DECLS
#endif /*IMAGE_GEN_H*/