When libpng is not found, default to GIF output

This commit is contained in:
Robin Stuart 2016-08-26 11:44:02 +01:00
parent 085ec8477c
commit 542ec7c7a5
3 changed files with 12 additions and 2 deletions

View file

@ -927,7 +927,6 @@ int plot_raster(struct zint_symbol *symbol, int rotate_angle, int file_type) {
#ifdef NO_PNG
if (file_type == OUT_PNG_FILE) {
printf("libpng not found");
return ZINT_ERROR_INVALID_OPTION;
}
#endif /* NO_PNG */