Page 1 of 1

GetImageAttribute deprecated

Posted: 2014-10-01T02:53:09-07:00
by ggCodeCons
Hello,

I'm upgrading a legacy project that used an older version of ImageMagick. Amongst the now deprecated methods it uses is GetImageAttribute, which, in turn, throws out a __imp__GetImageAttribute linker error.

What method(s) should be used instead of GetImageAttribute?

Thanks,
Gordan

Re: GetImageAttribute deprecated

Posted: 2014-10-01T03:14:53-07:00
by magick
Use GetImageProperty(). However, GetImageAttribute() is still supported but deprecated. The method remains defined until ImageMagick is built with the -disable-deprecated configure script command-line option.