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:
ByteArrayOutputSt
Thank You!! your solution work fine!
Fabrizio Accatino wrote:
>
> Hello,
>
> I'm not sure but try to close Document and PdfWrite before reading
> content from "baos".
>
>
> Fabrizio
>
> -
> This SF.net email is spo
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();
RandomA
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 {