awtk/tools/image_gen/image_gen.h
2018-03-19 07:19:25 +08:00

35 lines
835 B
C

/**
* File: image_gen.h
* Author: Li XianJing <xianjimli@hotmail.com>
* Brief: bitmap image generator
*
* Copyright (c) 2018 - 2018 Li XianJing <xianjimli@hotmail.com>
*
* 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*/