mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-20 02:05:11 -04:00
Add TIFF output option
This commit is contained in:
parent
5810252ab9
commit
ec8cfcbb76
5 changed files with 381 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue