Bug 103954 - Support compressed metafile formats WMZ/EMZ
Summary: Support compressed metafile formats WMZ/EMZ
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.3.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: filter:emf
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2016-11-16 15:13 UTC by Alberto Ferreira
Modified: 2017-06-12 17:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Picture to insert into writer (39.94 KB, application/x-gzip)
2016-11-16 15:13 UTC, Alberto Ferreira
Details
Picture in EMF format (uncompressed from EMZ) (81.52 KB, image/x-emf)
2016-11-16 15:16 UTC, Alberto Ferreira
Details
Writer file with emf picture inserted (50.56 KB, application/vnd.oasis.opendocument.text)
2016-11-16 15:17 UTC, Alberto Ferreira
Details
aron's linked sample (17.94 KB, application/x-gzip)
2017-06-12 17:13 UTC, Yousuf Philips (jay)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Ferreira 2016-11-16 15:13:06 UTC
Created attachment 128785 [details]
Picture to insert into writer

Description:
After open a blank Write Document I can't insert a picture with file extension EMZ.

If a uncompress the file to EMF, I can insert it to a write document.

I think that the function to support EMZ picture is missing.

The EMZ is a compressed picture file of a emf.

Thanks.
Comment 1 Alberto Ferreira 2016-11-16 15:16:14 UTC
Created attachment 128786 [details]
Picture in EMF format (uncompressed from EMZ)
Comment 2 Alberto Ferreira 2016-11-16 15:17:00 UTC
Created attachment 128787 [details]
Writer file with emf picture inserted
Comment 3 Aron Budea 2016-11-17 06:21:08 UTC
Sounds like a legitimate feature request.
Comment 4 Joel Madero 2016-11-17 06:39:38 UTC
Alberto - just a heads up that enhancements are handled entirely by volunteers. That being said, although this is a valid request, a volunteer with some serious skills and some serious time would have to find it interesting enough to implement. This could happen relatively fast, or it might never happen. To be perfectly frank, I suspect that if this were ever to be implemented it'd be at least a year or two away.
Comment 5 Aron Budea 2016-11-17 07:03:29 UTC
Is it so difficult? EMF code is already there, compression/decompression is likely also already there, seems like wiring these together and adding info for the new formats is needed.

Then again, I have zero idea how much work that takes, but these are not completely new formats to handle.
Comment 6 Bartosz 2017-05-18 11:32:02 UTC
Could you please attach some more examples of emz and wmz files?
I don't have application to generate such files.
What kind of application are you using to generate that files?
If is possible to create such files with EMF+ format inside .emf?
Comment 7 Aron Budea 2017-05-18 23:51:44 UTC
Another sample:
https://community.spiceworks.com/topic/98059-image005-emz-what-program-i-need-on-a-windows-7-system-to-open-this-photo

I think gzipped emf/wmf files are adequate samples (even if they aren't authentic).
Comment 8 Yousuf Philips (jay) 2017-06-12 17:13:33 UTC
Created attachment 133980 [details]
aron's linked sample