Page 1 of 1

Depends on libwmflite instead of libwmf

Posted: 2011-08-22T09:07:38-07:00
by broucaries
Hi,

I have jsut seen that graphick magick depend on libwmflite (subpart of libwmf) instead of libwmf. Could we do the same with imagemagick ? It will simplify the dependencies lib and save X depends.

Thanks

bastien

Re: Depends on libwmflite instead of libwmf

Posted: 2011-08-22T10:08:00-07:00
by magick
Look for a patch to support wmflite in ImageMagick 6.7.1-10 Beta by sometime tomorrow. Thanks.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-10-03T06:10:47-07:00
by broucaries
Any news ?

Bastien

Re: Depends on libwmflite instead of libwmf

Posted: 2011-10-03T07:51:13-07:00
by magick
Support for wmflite should be in the latest release of ImageMagick. If you run into any problems, let us know.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-10-11T04:44:51-07:00
by broucaries
I did not see the patch

Bastien

Re: Depends on libwmflite instead of libwmf

Posted: 2011-10-11T05:23:56-07:00
by magick
Doh! Sometime ago we got a bug report where certain WMF files failed to render correctly. There was a deficiency in the low-level WMFLite interface so we switched to using the higher level wmf_api_* methods which fixed the problem (the WMF files now render properly) but requires WMF in addition to WMFLite.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-10-11T05:45:50-07:00
by broucaries
I do not know.

But it is not really optimal. Using wmf little is better from a packaging point of view.

If you need more function from wmflittle please document it and patch wmflittle if needed.

Wmf lib is really really bad from a security point of view. the lib embed a old gd lib with security bug. Whereas wmflittle is more safe.

Bastien

Re: Depends on libwmflite instead of libwmf

Posted: 2011-10-11T06:33:41-07:00
by magick
We will revisit wmflite, but it may take some time. ImageMagick 7.0.0 development is consuming our time.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T03:10:19-07:00
by broucaries
Could you target this for 7.0 ?

It is really important from a security point of view

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T05:22:11-07:00
by magick
There are rendering problems with libwmflite that we don't see with libwmf. A solution would be to build ImageMagick without libwmf support, add --without-xml to the configure script during the build process. Other solutions include fixing the security bug in libwmf. If there are no maintainers, libwmf should probably be removed from the Linux distributions. However, looking at using libwmflite within ImageMagick is still on our radar. If we come up with a solution, it will be added to both the ImageMagick 6 and 7 series releases.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T06:20:15-07:00
by broucaries
Could you detail the defficiency with libwmflittle ?

We could try to patch libwmflittle and be a new upstream. But do not ask with whole libwmf.

Bastien

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T06:25:57-07:00
by magick
We got a number of bug reports from users when we used the libwmflite library where the WMF image rendering did not match what was rendered under Windows. When we switched to libwmf, it fixed all the various bug reports. That doesn't mean we can't return to libwmflite, it just means we need to make an effort to determine if the bugs were in ImageMagick or libwmflite.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T07:17:11-07:00
by broucaries
Hi,

I firmly believe reverting is the way to go and investigate. May be it should be configurable.

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T07:17:45-07:00
by broucaries
Moreover it does not seems that graphicmagick have a lot of bug report about wmf... So it seems safe

Re: Depends on libwmflite instead of libwmf

Posted: 2011-12-13T08:49:00-07:00
by magick
Look for WMFLite support in the next point release of ImageMagick, 6.7.4-1.