GetImageAttribute deprecated

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ggCodeCons
Posts: 1
Joined: 2014-10-01T02:50:19-07:00
Authentication code: 6789

GetImageAttribute deprecated

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: GetImageAttribute deprecated

Post 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.
Post Reply