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 image directly with iText, I have two options in mind to achieve this.
a.
Is it possible that I render the changed image (different image) on the
existing image position to give the effect that image is actually
changed.
b. Other could be, if possible, I create new pdf from the
existing one and all the pdf objects to new one except the images to be
modified. In place of these images I can add my changed images to new
pdf.
Please guide if any of this is feasible, please share if you have any other option in mind.
Any help would be greatly appreciated.
Thanks
aqueel