https://bugs.documentfoundation.org/show_bug.cgi?id=52598

--- Comment #22 from Dirk Munk <[email protected]> ---
I ran into the same problem. I prepared some pictures with Photoshop Elements,
and wanted to insert them "as is" in a Writer document, but I wasn't able to do
so.

When you edit an image in Photoshop, the properties of the image will show the
number of pixels (obviously) and the desired DPI setting. The two combined can
be used to calculated the desired size of the image in cm or inches. 

Writer ignores the desired DPI setting and will always resample the image based
on the DPI setting of the screen (96 DPI in my case) and the size of the image
in the document.

With Compress Graphic you can change the DPI setting of the image, but that
seems to be not of the orginal image but of the the already resampled image. 

To makes this clear, the following example. I have an image of 1600 x 1065
pixels. When I insert this image on a A4 page, it will be resampled to fit the
width of the page using a resolution of 96 DPI. The resulting image has a size
of 642 x 427 pixels.

When I open Compress Graphic I can change the DPI setting back to the original
300 DPI, but then I will get an image size of 2007 x 1335 pixels, so a
resampling of the already resampled image will take place. That is not good for
the quality of the image, any resampling should be done based on the original
image.

In Photoshop Elements there is a setting that allows you to switch resampling
on or off. If you switch it off changing the DPI setting is the only way to
change the size of the image in cm or inches. With resampling on you can choose
any DPI and size in cm or inch. 

So in my opinion three things should happen:
1. Writer should use the desired DPI setting of the image if the DPI setting is
in the properties of the image (and if possible).
2. If Writer needs to resample an image, it should always use the original
image.
3. It should be possible to switch resampling off, and just use the DPI setting
to get the desired size in cm or inches. 

Attached are an example image, and two screen dumps of the Photoshop window,
one with resampling enabled, and one without.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to