Your IP : 3.143.237.54
#include "gd.h" #include <stdio.h> #include <stdlib.h> #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen("png/emptyfile"); im = gdImageCreateFromPng(fp); fclose(fp); if (!im) { return 0; } else { return 1; } } |