Thursday, May 15, 2008
Saving images out of an ODF (OpenOffice) Document
We recently had the need to extract some images out of a functional specification document that we received. In OpenOffice, when you right-click on an image, there is no option to "Save Image to File". In order to pull the images of the document, you need to save the document in the ODF (native OpenOffice) format. Open your favorite decompression tool (7-zip is our fav) and open the ODF file. When you open the file in your decompression tool, you will notice several folders, one of which is "Images". This is the folder that stores all of your images from your document.
Subscribe to:
Post Comments (Atom)
3 comments:
To the owner of this blog, how far youve come?
I tried this, and found it to be not quite as simple as advertised. Saving the file in ODT is fine, and it opens in your favorite archiver (I use PowerArchiver) just fine.
But I'm not getting (with OOo 2.4) an 'Images' folder. What I get is ObjectReplacement, which contains smaller versions of the image files that also exist at root level.
I haven't figured out the format of the root level files.
However, those in the ObjectReplacements folder are PNG files. Rename them, and you're fine.
Your idea gave me the idea to save it as an html file and the images are also available.
Post a Comment