mirror of
https://github.com/woo-j/zint.git
synced 2025-08-24 21:49:59 +03:00
Block text on small PNG images
This commit is contained in:
@ -664,6 +664,7 @@ int ZBarcode_Print(struct zint_symbol *symbol, int rotate_angle)
|
||||
|
||||
#ifndef NO_PNG
|
||||
if(!(strcmp(output, "PNG"))) {
|
||||
if(symbol->scale < 1.0) { symbol->text[0] = '\0'; }
|
||||
error_number = png_handle(symbol, rotate_angle);
|
||||
} else {
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user