mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
When libpng is not found, default to GIF output
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user