Page 1 of 1

EMF files render as blank white

Posted: 2009-10-19T09:48:12-07:00
by Jared.Savage
Hello good people,

To summarize, I'm having trouble getting IM to render EMF files successfully. They seem to load okay, rendering with the correct dimensions, however they only draw as entirely white.

I'm successfully using IM to generate .jpg thumbnails of various other formats, on a windows 2003 server running php 5.3 + iMagick. I believe it to be an issue with IM itself, and not the iMagick extension, as conversion also fails when run from command line.

Copying an EMF to my IM installation, and running this command:

convert C:\ImageMagick\LPCA_01216.emf C:\ImageMagick\LPCA_01216.jpg

Gives me a JPG of the correct dimensions, but as entirely blank white. Here are two example results of the conversion:

http://redsavage.com/files/LPCA_01216.emf
http://redsavage.com/files/LPCA_01216.jpg
http://redsavage.com/files/LPCA_01245.emf
http://redsavage.com/files/LPCA_01245.jpg

When working with JPG, GIF, PNG, even WMF - everything works fine. The trouble seems only with EMF files.

Has anyone run into this before, or am I doing something silly? Any assistance or advice would be truly appreciated. I know the folks around here are more linux oriented, but for this project, we really need EMF support, so a windows server it's got to be. I'm really still marveling at the power this library offers. Thanks much for making this.

Best regards and many thanks,
-Jared

Re: EMF files render as blank white

Posted: 2009-10-19T17:24:17-07:00
by magick
We can reproduce the problem you posted and will work towards a patch soon. Thanks.

Re: EMF files render as blank white

Posted: 2012-11-30T19:34:15-07:00
by schwegel
I've run into what appears to be the same issue. Was this issue corrected? If so, in which release was the fix released?

Thanks

Re: EMF files render as blank white

Posted: 2013-01-25T06:47:48-07:00
by sewi
I have also seem to have run into the issue, which makes it very difficult to use imagemagick. Is this like a magick "look again it's no longer there" trick? :)