ImageMagick has a rather volatile API, and in <= 4.1.0 packaged source for
dx _im_image.c was written for IM v4.   The version in cvs (you can access
it via
http://opendx.watson.ibm.com/cgi-bin/dx/cvsweb/dx/src/exec/dxmods/_im_image.c
) works with 5.2.
Pete

Axel Tillequin wrote:

> Hi,
>
> I've downloaded the source last week and i've compiled it successfully.
> However, I had to modify _im_image.c :
> Indeed, _im_image.c calls ReadImage with one argument, but ReadImage
> needs two...
> this may be due to a change in ImageMagick (I'm using ImageMagick
> 5.2.0.)
> It seems that they have considered handling errors, such that now the
> good way is to add the declaration "ExceptionInfo error" and then
> call image=ReadImage(&image_info,&error).
>
> bye
> --
> Axel.

Reply via email to