> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of aqeel saifi
> Sent: Thursday, November 02, 2006 1:10 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Modifying the images in PDF
>
ages with your image, that is already present in the PDF.> > Paulo> > > > De: [EMAIL PROTECTED] em > nome de aqeel saifi> Enviada: qua 01-Nov-06 06:27> Para: Post all your questions about iText here> Assunto: Re: [iText-questio
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of aqeel saifi
> Sent: Thursday, November 02, 2006 11:54 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Modifying the images in PDF
>
>
(img,(PRIndirectReference)obj);break;}}}}stp.close(); Paulo> -Original Message-> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of aqeel saifi> Sent: Tuesday, October 31, 2006 7:44 AM> To: itext-questions@lists.sourceforge.net> Sub
: [iText-questions] Modifying the images in PDF
Thanks a lot Paulo.
This worked fine for the pre-existing image file. I was trying to get image
data from pdf and replacing the others with this image, but failed to do so. My
code is as follows...
PdfDictionary pg = reader.getPageN(i + 1
; Paulo> -Original Message-> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of aqeel saifi> Sent: Tuesday, October 31, 2006 7:44 AM> To: itext-questions@lists.sourceforge.net> Subject: [iText-questions] Modifying the images in
PDF> > Hi All,> As fa
ference)obj);
break;
}
}
}
}
stp.close();
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of aqeel saifi
> Sent: Tuesday, October 31, 2006 7:44 AM
> To: itext-questions@lists.sourceforge.net
> Subjec
Hi,
On 31/10/06, aqeel saifi <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> As far as I have digged, we can not directly modify the images in pdf file
> with iText. Although we can get the image data from the XObject. right?
> Actually I intend to create a new pdf from an existing one with some of the
>
Hi All,As far as I have digged, we can not directly modify the
images in pdf file with iText. Although we can get the image data from
the XObject. right?Actually I intend to create a new pdf from an existing one with some of the contained images changed/repalced with some other.As we can't replace