On 4/28/06, Bryce Harrington <bryce@...961...> wrote:
On Tue, Apr 25, 2006 at 11:34:34AM +0200, Ulf Erikson wrote:
On 4/25/06, Bryce Harrington <bryce@...961...> wrote:
On Mon, Apr 24, 2006 at 03:42:54PM +0200, Ulf Erikson wrote:
Also, have you thought about also doing an EMF importer?
The Windows API helps you "play" a WMF/EMF file and later copy the result to any device (and automatically rescale the drawing to fit the DPI of that device), but I don't think it helps you find the graphical objects inside. You would have to parse the (undocumented?) binary file yourself to find them. I think this is what libwmf tries to do.
Do you know if anyone out there has attempted to document the binary file, or written open source parsers for it?
Both the WMF and EMF file formats are well documented and available through MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/metafil...
There seems to be quite a lot of extra information on WMF around if you google for it. The EMF documentation at MSDN seems to be quite complete, but I'm not certain.
Regards, -- Tarjei