Hello to all...when i convert tiff2pdf i found a little problem, for some
particular tiff (wich have COMP_FAX_G3_2D compression) the result pdf have
color inverted (black to white and white to black).
Is there a way using itext to invert the colors of the image?
my code is:
Ok,
ByteArrayOutputStream baos =new ByteArrayOutputStream();
Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document,baos);
try {
int pages = 0;
document.open();
PdfContentByte cb = writer.getDirectContent();
hello to alli have write a little application that convert a multipage
tiff to a multipage pdf...
OutputStream fout =new FileOutputStream(result.pdf);
Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document,fout);
try {