Add ZSoft PCX image file output

This commit is contained in:
Robin Stuart 2016-07-23 15:08:55 +01:00
parent 7e3a56815f
commit babeaec41d
6 changed files with 343 additions and 7 deletions

View file

@ -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);