[iText-questions] Replace images in pdf

2015-12-21 Thread mbf09
I am trying to replace a particular image on several pages in a pdf. It runs through the code fine but when I open the file I see the first image replaced and when I scroll to the second page it says there is an error in the pdf.  Can anyone help me figure out what I am doing wrong?  Thank you.   

[iText-questions] Replace images in pdf

2015-12-21 Thread breegee
I am trying to replace a particular image on several pages in a pdf. It runs through the code fine but when I open the file I see the first image replaced and when I scroll to the second page it says there is an error in the pdf. Can anyone help me figure out what I am doing wrong? Thank you.