- convert emfplus:myimage.emf myimage.png
EMF+ support on Windows
Re: EMF+ support on Windows
From the command line, try
Re: EMF+ support on Windows
Here is what I am seeing:
U:\tmp\TESTHELPS\TH088480>sdswhence convert
C:\Program Files\ImageMagick-6.7.5-Q16\convert.EXE
U:\tmp\TESTHELPS\TH088480>convert emfplus:EMFPlus.emf EMFPlus.png
convert.exe: unable to open module file `C:\Program Files\ImageMagick-6.7.5-Q16\modules\coders\IM_MOD_RL_EMFPLUS_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/683.
convert.exe: no decode delegate for this image format `C:/DOCUME~1/TIDINE/LOCALS~1/Temp/magick-Ow5NvWXg' @ error/constitute.c/ReadImage/566.
convert.exe: missing an image filename `EMFPlus.png' @ error/convert.c/ConvertImageCommand/3016.
The tool I link ImageMagick to, doesn't know of format, so I won't be able to force a format. Also, I believe the emfplus tools works on all EMF formats, so it could replace the legecy delegate.
U:\tmp\TESTHELPS\TH088480>sdswhence convert
C:\Program Files\ImageMagick-6.7.5-Q16\convert.EXE
U:\tmp\TESTHELPS\TH088480>convert emfplus:EMFPlus.emf EMFPlus.png
convert.exe: unable to open module file `C:\Program Files\ImageMagick-6.7.5-Q16\modules\coders\IM_MOD_RL_EMFPLUS_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/683.
convert.exe: no decode delegate for this image format `C:/DOCUME~1/TIDINE/LOCALS~1/Temp/magick-Ow5NvWXg' @ error/constitute.c/ReadImage/566.
convert.exe: missing an image filename `EMFPlus.png' @ error/convert.c/ConvertImageCommand/3016.
The tool I link ImageMagick to, doesn't know of format, so I won't be able to force a format. Also, I believe the emfplus tools works on all EMF formats, so it could replace the legecy delegate.
Re: EMF+ support on Windows
Looks like we'll need to turn emfplus.cpp into a library and call it from the EMF coder. We'll try to get the patch into the next point release of ImageMagick.
Re: EMF+ support on Windows
That would be great! I had some problems with EMF and also WMF files in ImageMagick, and usually used the Windows Picture Viewer to decode these files. (I don't know if these are 'normal' EMF files, or 'dual', as you call it, or something else.) Using your tool, I'm getting now the same result as with the Windows viewer. Thanks for that!tsdineen wrote:Also, I believe the emfplus tools works on all EMF formats, so it could replace the legecy delegate.
Shall I provide some files that showed the problems with the old delegate?
Re: EMF+ support on Windows
My tool supports wmf as well, so I have files. It looks like the emfplus tool will convert them to bmp as well. If there are others that don't work with the emfplus tool, I might be able to help you, but I try to stay away from knowing too much about a given format, as the tool which uses ImageMagick isn't my primary support.
Re: EMF+ support on Windows
OK. I think I'll wait for the next IM release versions and if there are still problems with these files, I can make a new thread.
(I don't use this file type much. But I have one WMF that ImageMagick can't read and most of the EMFs get a bit distorted with the old EMF reader - I think, mainly as IM doesn't know the right density.)
(I don't use this file type much. But I have one WMF that ImageMagick can't read and most of the EMFs get a bit distorted with the old EMF reader - I think, mainly as IM doesn't know the right density.)
Re: EMF+ support on Windows
When do you expect the emf delegate to be changed over?
Re: EMF+ support on Windows
Any status on this?
Re: EMF+ support on Windows
One additional note: I have some wmf files that aren't readable with the current version of the Windows IMDisplay. The emfplus tool reads EMF, EMF+ and WMF files correctly. Either replacing the internal code or changing these formats to use the emfplus delegate would help, greatly.
Re: EMF+ support on Windows
We're working on it. We're a small development team with a large user base with lots of questions and enhancement requests.
Re: EMF+ support on Windows
I understand, complete.
Thanks, for your work on this.
Thanks, for your work on this.
Re: EMF+ support on Windows
It looks like the EMF+ issue was fixed with the 6.7.5-7 release. I am still seeing issues with my WMF file which is fixed, using the emfplus tool. You should be able to see the file in about 30 minutes, here.
ftp://ftp.sas.com/outgoing/ImageMagick/ngs0201w.wmf
Thanks,
ftp://ftp.sas.com/outgoing/ImageMagick/ngs0201w.wmf
Thanks,
Re: EMF+ support on Windows
Try http://www.imagemagick.org/download/bin ... ws-dll.exe (updated today).
Re: EMF+ support on Windows
Should this be 6.7.5-9 or 6.7.5-10? I only see the latter.
Thanks,
Thanks,
Re: EMF+ support on Windows
Try now. Use the -10 release.