- 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 <gd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
gdImagePtr im;
|
gdImagePtr im;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
char path[3][2048];
|
char path[4][2048];
|
||||||
int i;
|
int i;
|
||||||
char dst[2048];
|
char dst[2048];
|
||||||
|
|
||||||
sprintf(path[0], "noIcon.tga");
|
sprintf(path[0], "noIconAlpha.tga");
|
||||||
sprintf(path[1], "noIcon.sgi");
|
sprintf(path[1], "noIcon.tga");
|
||||||
sprintf(path[2], "noIcon.pic");
|
|
||||||
|
|
||||||
for (i = 0; i < 2; i++) {
|
for (i = 0; i < 2; i++) {
|
||||||
printf("opening %s\n", path[i]);
|
printf("opening %s\n", path[i]);
|
||||||
|
|
Loading…
Reference in New Issue