gdImagePtr image_from_file(const char *path, char **errstr);