Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My wife has a medium-sized batch (around 100) of ODG files she needs to send to a print shop.

Since they won't take ODG files, we've sent hi-res JPG in the past. However, this is tedious because we weren't able to export JPGs with a high-DPI setting (we need 300, when exporting it looks like 75).

So, our current workaround is:

  • Manually export to PDF from OOo
  • Manually import to GIMP
  • Save as JPG

Is there a way to automate or improve this process?

Exporting to either format is acceptable. I have Windows and Linux boxes available.

share|improve this question
    
Your print shop doesn't take pdfs? – Tyler Nov 5 '10 at 3:17
    
It wasn't mentioned... they probably do... – Diego Nov 5 '10 at 10:07
up vote 0 down vote accepted

Well, turns out there's an extension to fix the DPI issue in OOo: http://extensions.services.openoffice.org/en/project/EnhancedGraphicExportDialogs

share|improve this answer

ImageMagick will convert to/from odg as well. Don't know if it will handle your specific BPI issues, but it might be worth looking into.

share|improve this answer
    
I tried convert file.odg file.jpg and I got: Magick: no decode delegate for this image format Hoja01B.odg' @ error/constitute.c/ReadImage/532. Magick: missing an image filename Hoja01B.jpg' @ error/convert.c/ConvertImageCommand/2949. – Diego Nov 5 '10 at 10:21

On win7, using LO 4.1 I had to do the following (from command line, you probably need to convert %f to %%f if running in a cmd script):

set path=%path%;C:\Program Files (x86)\LibreOffice 4\program
for %f in (*.odg) do (
    soffice.exe --headless --convert-to jpg --outdir "C:\tmp" %f
)

Notes:

  • it will NOT work if any instance of LO is open!
  • outdir IS required
  • wildcards for input files are NOT supported (hence the for loop)

(copied my answer from ask.libreoffice )

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .