[Libreoffice] [PATCH] Display resolution in PPI with the original size on Picture/Crop (in Writer)

Németh László nemeth at numbertext.org
Fri Oct 28 02:54:17 PDT 2011


Hi,

This patch adds PPI resolution to the default image size data in the
Picture dialog (only for bitmap images), see the attached screenshot.

Explanation: LibreOffice supports explicite resolutions of JPEG/PNG
picture formats to set default image size, but this important data is
missing from the UI, so we cannot verify the picture quality.

Best regards,
László

PS. There are some old bugs in the default image handling in
LibreOffice, see the attached test file, but the most important
picture format (JPEG with equal explicite x-y resolutions) works well
(except the rounding error in the percent data, see 101% on the
screenshot). This patch helps to handle these problems, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Display-resolution-in-PPI-with-the-original-size-on-.patch
Type: text/x-patch
Size: 3971 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111028/b2153a03/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppi.png
Type: image/png
Size: 54670 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111028/b2153a03/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pictest.odt
Type: application/vnd.oasis.opendocument.text
Size: 62757 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111028/b2153a03/attachment-0001.odt>


More information about the LibreOffice mailing list