Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing pages contents with images???

Status
Not open for further replies.

DunkyDuncs

Programmer
Feb 15, 2005
1
ZA
Hi There

we have a rather funny problem with PDF files. We need to convert the pdf's to html for use on one of our websites, however we have failed to find a PDF converter thats scriptable and runs on linux. The one that we have struggles to convert pages with lots of content. However, we have found a work around, if we convert the pages to images and then replace that page with the image, the converter works like a bomb.

so now for my question, i am trying to write a vb programme to replace each page of the PDF with a jpg file. I have found the ReplacePage of the PDDoc object, but it appears that the source object needs to be another pdf that has been opened? I don't know if i am making sense?

How do i use the replace page method to do what i need it to do?

Thanks!

Duncan Promnitz
South Africa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top