User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36 Build Identifier: LibreOffice 5.0.4.2 I have exported table from calc to pdf and then opened it in draw. Exporting this pdf to jpg is impossible with good quallity Reproducible: Always Steps to Reproduce: 1. Open any vector graphics in Draw 2. Select some objects and press export 3. No matter which DPI (default 96) you have selected - the image resolution will stay the same!!! [Information automatically included from LibreOffice] Locale: ru Module: DrawingDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes Reset User Profile?No
Think the DPI with jpg's was set to 96, to fix some other issue in bug 65695 http://cgit.freedesktop.org/libreoffice/core/commit/?id=d0d8e0a2a7244814f783f16c6c8b342fe6d16e79
The same for png. DPI value does not affect on anything (but should affect on resolution). Only changing resolution values affects on resulting image
You have to set first the resolution and then the size. Then correct number of pixels is generated. The dpi information in the png-file is correct for me. The dpi information in the jpeg-file is wrong. That is already tracked in bug 85761. *** This bug has been marked as a duplicate of bug 85761 ***
Asking for a review on Gerrit: https://gerrit.libreoffice.org/22339
Chris Sherlock committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f8355221ae62b89a706f2d04b63eda658f3ccfa5 tdf#85761 vcl: JPEG export does not save PPI values correctly It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Backport is now in 5.1.2 and 5.0.6