mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add TIFF output option
This commit is contained in:
@ -1122,6 +1122,12 @@ int ZBarcode_Print(struct zint_symbol *symbol, int rotate_angle) {
|
||||
symbol->text[0] = '\0';
|
||||
}
|
||||
error_number = plot_raster(symbol, rotate_angle, OUT_GIF_FILE);
|
||||
} else
|
||||
if (!(strcmp(output, "TIF"))) {
|
||||
if (symbol->scale < 1.0) {
|
||||
symbol->text[0] = '\0';
|
||||
}
|
||||
error_number = plot_raster(symbol, rotate_angle, OUT_TIF_FILE);
|
||||
} else
|
||||
if (!(strcmp(output, "TXT"))) {
|
||||
error_number = dump_plot(symbol);
|
||||
|
Reference in New Issue
Block a user