EMF files render as blank white

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Jared.Savage

EMF files render as blank white

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: EMF files render as blank white

Post by magick »

We can reproduce the problem you posted and will work towards a patch soon. Thanks.
schwegel
Posts: 1
Joined: 2012-11-30T19:31:18-07:00
Authentication code: 6789

Re: EMF files render as blank white

Post 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
sewi
Posts: 1
Joined: 2013-01-25T06:46:44-07:00
Authentication code: 6789

Re: EMF files render as blank white

Post 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? :)
Post Reply