mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-16 08:04:36 -04:00
When libpng is not found, default to GIF output
This commit is contained in:
parent
085ec8477c
commit
542ec7c7a5
3 changed files with 12 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue