mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Block text on small PNG images
This commit is contained in:
parent
1d9cbbc00d
commit
984395311c
@ -664,6 +664,7 @@ int ZBarcode_Print(struct zint_symbol *symbol, int rotate_angle)
|
|||||||
|
|
||||||
#ifndef NO_PNG
|
#ifndef NO_PNG
|
||||||
if(!(strcmp(output, "PNG"))) {
|
if(!(strcmp(output, "PNG"))) {
|
||||||
|
if(symbol->scale < 1.0) { symbol->text[0] = '\0'; }
|
||||||
error_number = png_handle(symbol, rotate_angle);
|
error_number = png_handle(symbol, rotate_angle);
|
||||||
} else {
|
} else {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user