mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 05:54:19 -04:00
Add ZSoft PCX image file output
This commit is contained in:
parent
7e3a56815f
commit
babeaec41d
6 changed files with 343 additions and 7 deletions
|
@ -949,6 +949,12 @@ int ZBarcode_Print(struct zint_symbol *symbol, int rotate_angle) {
|
|||
symbol->text[0] = '\0';
|
||||
}
|
||||
error_number = plot_raster(symbol, rotate_angle, OUT_BMP_FILE);
|
||||
} else
|
||||
if (!(strcmp(output, "PCX"))) {
|
||||
if (symbol->scale < 1.0) {
|
||||
symbol->text[0] = '\0';
|
||||
}
|
||||
error_number = plot_raster(symbol, rotate_angle, OUT_PCX_FILE);
|
||||
} else
|
||||
if (!(strcmp(output, "TXT"))) {
|
||||
error_number = dump_plot(symbol);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue