mirror of
https://github.com/bitbank2/image_to_c.git
synced 2025-11-04 14:49:59 +08:00
Added attribution comment
This commit is contained in:
parent
10e4016793
commit
81766f9d74
1
main.c
1
main.c
@ -657,6 +657,7 @@ int main(int argc, char *argv[])
|
|||||||
ImageInfo(ihandle, iSize, szInfo); // get image info
|
ImageInfo(ihandle, iSize, szInfo); // get image info
|
||||||
p = (unsigned char *)malloc(0x10000); // allocate 64k to play with
|
p = (unsigned char *)malloc(0x10000); // allocate 64k to play with
|
||||||
GetLeafName(argv[1], szLeaf);
|
GetLeafName(argv[1], szLeaf);
|
||||||
|
printf("// Created with image_to_c\n// https://github.com/bitbank2/image_to_c\n");
|
||||||
printf("//\n// %s\n// Data size = %d bytes\n//\n", szLeaf, iSize); // comment header with filename
|
printf("//\n// %s\n// Data size = %d bytes\n//\n", szLeaf, iSize); // comment header with filename
|
||||||
if (szInfo[0])
|
if (szInfo[0])
|
||||||
printf("%s", szInfo);
|
printf("%s", szInfo);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user