https://bugs.documentfoundation.org/show_bug.cgi?id=103913
Bug ID: 103913
Summary: LibreOffice changes file extension and mime type of
EMF file to .wmf and image/x-wmf
Product: LibreOffice
Version: 5.3.0.0.alpha1+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Description:
Attached is a file containing an embedded EMF file with the matching file
extension .emf and the assigned mime type image/emf.
After opening this file and saving it under a different name (no other
modification), the image file in the ODT got a new name with .wmf filen name
extension. Also the mime type in the manifest file is changed to image/x-wmf.
But the image file is binary identical to the one in the original .odt
document, therefore it must be still an EMF file, but now with the wrong file
name extension and mime type assigned.
Steps to Reproduce:
1. Open the attached file
file_with_embedded_emf_file_and_untouched_file_name_extension.odt
2. Save a copy of it
3. Open both files in a ZIP tool, you will see that the file in the Pictures
subdirectory got a new name.
Actual Results:
EMF file is saved with wrong file extension .wmf
EMF file got the wrong mime type image/x-wmf in the META-INF/manifest.xml
Expected Results:
EMF file is saved with the correct file extension .emf
EMF file get the correct mime type image/emf (or image/x-emf) in the
META-INF/manifest.xml
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101
Firefox/49.0
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs