some WMF images on Windows XP SP3 (x86) do not work
Posted: 2013-01-11T02:31:53-07:00
Hi!
We are using latest ImageMagick-6.8.1-9-Q16-x86-dll.exe with connection of libwmf and JMagick on Java Swing application. But we experienced that some of WMF images on Windows XP SP3 x86 do not work.
We are adding also Visual C++ 2010 Redistributable Package (x86) patches to the system.
The exception, which JMagick native method (Imagemagick C++ method) is giving for us is: magick.MagickException: No image to scale.
magick.MagickException: No image to scale
at magick.MagickImage.scaleImage(Native Method)
at se.zert.util.MagickIcon.init(Unknown Source)
at se.zert.util.MagickIcon.init(Unknown Source)
at se.zert.util.MagickIcon.<init>(Unknown Source)
at se.zert.infologic.ui.plugin.image.ImageCanvas$LoadThread.run(Unknown Source)
We think issue is related to Imagemagick because we had the same exception also on Windows Server 2008 R2 (x64) previously, but switching to ImageMagick-6.8.1-3-Q16 version resolved Windows Server 2008 R2 (x64) trouble, but trouble on Windows XP SP3 x86 with some WMF images remains. So we beleive the development process is real close to resolving the issue.
I'll attach all the files you might be interested in via https://docs.google.com/file/d/0B27YYRO ... JiRGM/edit . It includes working wmf images and not working (only on Windows XP SP3 x86) images and all the additional libraries.
We are using latest ImageMagick-6.8.1-9-Q16-x86-dll.exe with connection of libwmf and JMagick on Java Swing application. But we experienced that some of WMF images on Windows XP SP3 x86 do not work.
We are adding also Visual C++ 2010 Redistributable Package (x86) patches to the system.
The exception, which JMagick native method (Imagemagick C++ method) is giving for us is: magick.MagickException: No image to scale.
magick.MagickException: No image to scale
at magick.MagickImage.scaleImage(Native Method)
at se.zert.util.MagickIcon.init(Unknown Source)
at se.zert.util.MagickIcon.init(Unknown Source)
at se.zert.util.MagickIcon.<init>(Unknown Source)
at se.zert.infologic.ui.plugin.image.ImageCanvas$LoadThread.run(Unknown Source)
We think issue is related to Imagemagick because we had the same exception also on Windows Server 2008 R2 (x64) previously, but switching to ImageMagick-6.8.1-3-Q16 version resolved Windows Server 2008 R2 (x64) trouble, but trouble on Windows XP SP3 x86 with some WMF images remains. So we beleive the development process is real close to resolving the issue.
I'll attach all the files you might be interested in via https://docs.google.com/file/d/0B27YYRO ... JiRGM/edit . It includes working wmf images and not working (only on Windows XP SP3 x86) images and all the additional libraries.