hackathon-dev #1

Merged
amy merged 101 commits from hackathon-dev into develop 2019-12-12 13:56:11 -07:00
Showing only changes of commit 51fda759cc - Show all commits

View File

@ -211,14 +211,6 @@ int do_convert(const char *infilename, const char *outfilename)
return -1; return -1;
} }
if ((image_width != 320) || (image_height != 240))
{
readpng_cleanup(1);
fclose(fpin);
fprintf(stderr, "%s: image is %lux%lu, should be 320x240\n", infilename, image_width, image_height);
return -1;
}
if (readpng_get_bgcolor(infilename, &bg_red, &bg_green, &bg_blue)) if (readpng_get_bgcolor(infilename, &bg_red, &bg_green, &bg_blue))
{ {
readpng_cleanup(1); readpng_cleanup(1);