- add tga with alpha example image
- remove sgi and pic from the tga code examplemaster
parent
beb1d0c7c7
commit
ad4477b0cb
Binary file not shown.
After Width: | Height: | Size: 150 KiB |
|
@ -8,17 +8,17 @@
|
|||
#include <gd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
gdImagePtr im;
|
||||
FILE *fp;
|
||||
char path[3][2048];
|
||||
char path[4][2048];
|
||||
int i;
|
||||
char dst[2048];
|
||||
|
||||
sprintf(path[0], "noIcon.tga");
|
||||
sprintf(path[1], "noIcon.sgi");
|
||||
sprintf(path[2], "noIcon.pic");
|
||||
sprintf(path[0], "noIconAlpha.tga");
|
||||
sprintf(path[1], "noIcon.tga");
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
printf("opening %s\n", path[i]);
|
||||
|
|
Loading…
Reference in New Issue