Image in Microsoft Word Conversion

Hi

I have a large database where users can insert an image into a Microsoft Word document. My problem is that in particular they are adding photos that are sending the database size up very quickly. Without the usual “do things right” speech, I need a solution where I can grab the document, open the Word document, extract the image, convert the size and quality of the image (without losing too much quality) and reinsert the image into exactly the same position as it was previously. Then obviously saving all the documents.

Has anyone been able to do this before ? Can anyone help with a solution?

Thanks

Steven

Subject: Image in Microsoft Word Conversion

Steven

You can do one thing with less programming,

  1. Just extract word documents from lotus notes document to external folder

  2. Using Lotus script (CreateObject), open word document then save it as “.HTML” file

  3. YOu can find all pictuers into separete folder

  4. after that just goto that folder and import all pictures into lotus notes document (embedded objects)using lotus script.

sample code as follows

Dim app As Variant

Set app = CreateObject("Word.Application")

app.Visible = False

app.Documents.Open("C:\word\flights.doc")

app.ActiveDocument.SaveAs  "C:\word\flights.htm", 10 '10 

app.quit

Set app=Nothing

Now if you goto c:\word folder you can find “flights” folder, inside flights folder you can find images.

After that, you know how to embedded all images into lotus notes document.

Thanks

Subject: Image in Microsoft Word Conversion

Hi, I supposed that you can apply Lotus Word pages extracting methods of Word document processing tool to extract and export the added images, loading and opening Word document file, and apply the pages extractor. After get the image adding Word pages, you can use the Lotus compliant image processing application to convert image size and quality of the image (without losing too much quality) and reinsert the image into exactly the same position as it was previously.