Source

gd-libgd / examples / crop.c

Diff from to

File examples/crop.c

 #ifdef HAVE_LIBPNG
 	im = gdImageCreateFromPng(fp);
 #else
+	im = NULL;
 	printf("No PNG support. Cannot read image.\n");
 #endif
 	fclose(fp);