libreoffice

Libreoffice Draw Export Resolution makes no sense


I am attempting to make a very simple label using Libreoffice Draw v 4.0.2.2. The label has not much more to it than regularly spaced lines of centered text

This image will be printed, and I have a fixed size/ppi requirement to ensure appropriate print quality.

I set the page size to my specs, and layout the text as I desire. The print shop takes several image formats including .tiff and .png. When I export the image, a dialog pops up that asks for the image size/ resolution. The given ppi is very low (~40) and I require a minimum of 180ppi. When I enter this, the image size adjusts itself and results in an image that is far too small.

The only solution that appears to be viable is to explode the page size and the drawing text size so it gets shrunk upon export. This is a very imprecise and illogical feature (bug?) of the program that I really wish is a result of my ignorance.

I found a thread in the mailing list which describes this issue exactly. The only answer that is given is essentially "yes, this is ridiculous and doesn't help anybody".

Can anyone give some advice to this? Or at least shed some light on who might need this "feature"?


Solution

  • There is something off about the Export tool of LibreOffice in general. It has been years since it is broken. Taking a screenshot is an alternative, but obviously you cannot control the resolution.

    So, a better work around is exporting to SVG, and then convert the SVG to PNG with Inkscape. Once downloaded, convert the file with the following command:

    inkscape -z -e out.png -w 1024 in.svg
    

    If you are in Windows (x64), you will need to indicate the full path:

    "C:/Program Files/Inkscape/inkscape.exe" -z -e out.png -w 1024 in.svg 
    

    If you install the 32 bit version, this should work:

    "C:\Program Files (x86)/Inkscape/inkscape.exe" -z -e out.png -w 1024 in.svg