View Single Post
 
Old 12-21-2016, 09:23 PM
ssbtech ssbtech is offline Windows 10 Office 2016
Novice
 
Join Date: Dec 2016
Posts: 2
ssbtech is on a distinguished road
Default Replacing embedded JPGs with TIFFs

Ok, interesting problem I'm hoping someone can help me out with here.

Word Doc - 186 pages, 35,000 words. It's a big one. I have several images that need to be replaced with ones of a higher DPI and in TIFF format.

The existing images in the document consist of PNG and JPG files.

Instead of doing this manually, I thought I'd get technical but it's not working out for me.

Here's what I've done so far:

*Renamed the document.docx to document.zip and extracted to a folder
*Located the media directory and using Photoshop automated the file type and DPI change
*Located the document.xml file and using Notepad++ did a find/replace for all files ending in JPG and PNG and changed to TIFF
*Saved the document.xml file, re-zipped the folder and renamed from zip to docx


Unfortunately now all I get is an error when I try to open the document.

I've searched a fair bit and the results were mainly around exporting the Word file as a TIFF or something not at all what I'm looking to do.

If anyone can give me some pointers, that'd be great.

Thanks!
Reply With Quote