[Libreoffice-bugs] [Bug 103903] EMF import distorts proportion of image files (Landscape looks like Portrait)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 2 02:16:46 UTC 2021


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

--- Comment #22 from Valek Filippov <frob at df.ru> ---
(In reply to Joerg from comment #19)

> The image import should take over the aspect ratio of the original file and
> should not assume, that the image file is broken.
Nobody assumes that the file is broken.
It has some "specifics" which unfortunately not 100% clearly documented in the
MS spec AND handled differently by different implementations.

> This might make sense when
> somebody imports a MS Office document containing an EMF generated by MS
> Office, but not in case of importing a standalone image which has no
> relation to MS Office.

There is no good way to differentiate an image generated by MS tools and
imported as a standalone file and by other different third party tools, with
each of them able of doing their own interpretation of the spec.

In the current situation LibreOffice need to choose which interpretation of the
spec to support. MSO sounds more reasonable than MS Paint.

> it's generate by a Java based OpenDocument generator 
> which contains code similar to the attached example program.

If modification of this generator is an option, I could help to identify
relatively small changes in the resulting EMF required to make it more
compatible with different readers.

-- 
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/20210602/a4be2c33/attachment.htm>


More information about the Libreoffice-bugs mailing list