fprintf(stderr, "Usage: gdtestft fontfilename\n"
"If fontfilename is not a full or relative path, GDFONTPATH is searched for\n"
"it. If GDFONTPATH is not set, /usr/share/fonts/truetype is searched.\n");
/* obtain brect so that we can size the image */
/* Load a pretty background and resample it to cover the entire image */
FILE *in = fopen ("eleanor.jpg", "rb");
imb = gdImageCreateFromJpeg (in);
fprintf(stderr, "No JPEG library support.\n");
fprintf(stderr, "gdImageCreateFromJpeg failed\n");
/* If destination is not truecolor, convert the JPEG to a