On Sun, Dec 13, 2009 at 06:46, Stroller <strol...@stellar.eclipse.co.uk> wrote: > Hi all, > > A .doc file contains an image. Is there any way to extract the image file in > its original format, please? > > This may seem like a bit of an odd request, so I'll explain. The .doc file > is quite large, and it seems like the image it contains must be to blame. I > would like to extract the original file of the image and examine it. I have > tried in OpenOffice on Windows and Word for Mac. In OpenOffice I can't see > any way to save the image file, in Word for Mac I can drag the file to the > desktop but it becomes a "Picture clipping.pictClipping" and is clearly not > the original format. > > I tried running `photorec` on the .doc file, but that just "finds" the .doc > file itself. I thought to use dd to zero over the first few bytes of the > .doc - maybe this would make the .doc unrecognisable to photorec, and then > photorec would maybe find the image file inside the corrupt document, but I > haven't tried that yet. I'm not sure if it'd work, and so I thought I'd ask > here to see if anyone knew of an easy way to do this first. > > TIA for any suggestions, >
When I want to extract an image from a doc I save it as HTML. It saves images in a separated folder and links it into the HTML. I simply go to the folder and check the image. Hope it helps. -- Daniel da Veiga