Hi all!! I'm new to iText and I'm trying to produce GIF/JPG output images from a BarcodePDF417 (Macro PDF 417).
Here's my source code:
First pdf417_0 = new BarcodePDF417();
String text_0 = "text in the barcode";
pdf417_0.setMacroFileId("00");
pdf417_0.setMacroSegmentCount(2);
pdf417_0.setMacroSegmentId(0);
pdf417_0.setText(text_0);
pdf417_0.paintCode();
And here are my questions :)
1. What's the function of setMacroFileId("00") ?
2. After this code, i retrieve a byte[] representing the barcode:
pdf417_0.getOutBits()
What's the format of this information? It's an image?
How can i produce a GIF/JPG?
Thanks in advance !!!!
--
Salut,
====================================
Ricardo Borillo Domenech
Analista/Programador - Servei d'Informàtica
Universitat Jaume I
http://xml-utils.com
smime.p7s
Description: S/MIME cryptographic signature
