mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-22 12:27:03 +00: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
|
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user