Ide Mile wrote:
This might be a bug!
No it isn't.
I'm writing something about this in the new tutorial (but the example
isn't online yet).
Try this and compare the default iText behaviour with the one you need:
The solution you are looking for is:
writer.setStrictImageSequence(true);
This is the
This might be a bug!
Here is what happend. -->
document.add(new Paragraph("Some text to be added"));
Image image1 = Image.getInstance(byte_array);
image1.setAlignment(Image.MIDDLE);
document.add(image1);//image1 is being generated using an array of raw bytes
//
document.add(new Paragraph("Some