Added gif output

This commit is contained in:
Harald Oehlmann 2016-07-28 20:58:33 +02:00
parent 3939a1ae54
commit 08c88e85d2
6 changed files with 526 additions and 2 deletions

View file

@ -955,6 +955,12 @@ int ZBarcode_Print(struct zint_symbol *symbol, int rotate_angle) {
symbol->text[0] = '\0';
}
error_number = plot_raster(symbol, rotate_angle, OUT_PCX_FILE);
} else
if (!(strcmp(output, "GIF"))) {
if (symbol->scale < 1.0) {
symbol->text[0] = '\0';
}
error_number = plot_raster(symbol, rotate_angle, OUT_GIF_FILE);
} else
if (!(strcmp(output, "TXT"))) {
error_number = dump_plot(symbol);