[Libreoffice-bugs] [Bug 134497] Inserted PNG image corruption when Draw image is exported in PNG format.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 23 06:47:14 UTC 2020


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

Robo Pluhar <robo-pluhar at email.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robo-pluhar at email.cz

--- Comment #3 from Robo Pluhar <robo-pluhar at email.cz> ---
Created attachment 166653
  --> https://bugs.documentfoundation.org/attachment.cgi?id=166653&action=edit
Position and size dialog, Export dialog

I have probably the same experience. My LO is:
Version: 6.4.6.2
Build ID: 1:6.4.6-0ubuntu0.20.04.1
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: cs-CZ (en_DK.UTF-8); UI-Language: en-US
Calc: threaded

Example: 
1) A source PNG image has resolution 742x300px.
2) PNG is inserted into Draw by drag-and-drop.
3) Right click to PNG image > original size.
4) In the Position and Size dialog I can see size 742.1 pt x 300.0 pt.
5) CTRL-A (select all). Selected area is the same as the picture (there is
nothig outside the original picture).
6) File > Export... 
7) In the Export dialog check Selection, output format: PNG.
8) PNG Options dialog appears - strangely enough the size is: 742.41 x 299.96
points, resolution 37 pixels/cm. Click OK.
9) Exported image has resolution 990x400px (what can I see is the same what was
previously selected - different resolution is not caused by exporting more than
it is supposed). And the picture is blurred of course.

BTW: When I am in the step 8) and change the width of the picture to 742 points
(instead of 742.41), and click to the height field, LO Draw crashes
immediately.

So I can see only one way how to export PNG image without any distortion:
1) Zoom the picture to 100% size.
2) Make a screenshot.
And for small pictures it is actually simpler way than use export dialog (as
export dialog does not remember my settings so I have to check "Selection" and
change export format from JPG to PNG during every export).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201023/2c35e059/attachment.htm>


More information about the Libreoffice-bugs mailing list