三、核心代码
可以传入任意尺寸的图片进行生成绘制。...(横向取模--高位在前)
int w 取模字体的宽度
int h 取模字体的高度
*/
void Display_Data(char *font,int w,int h,char *image_head...=4)
{
printf("传入的参数格式: ./a.out 的名称>\n");
printf("例如: ....\n",cnt);
/*4.添加水印: 制作图片的数据*/
int one_line_byte=bmp_info.w*3; //BMP图片一行的字节数
while(one_line_byte...,0xFF,bmp_info.w*3*bmp_info.h);
//绘制水印
Display_Data(font,48,48,head_p,bmp_info.w,10,10);