CompositeOperator enum & possible binary incompatibility

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: CompositeOperator enum & possible binary incompatibility

Post by magick »

We tack on any new enums onto the end of the list to avoid problems as you describe. However, there is a better solution. ImageMagick wrappers should use ParseMagickOption() and MagickOptionToMnemonic() which are MagickCore option mapping methods which ensures the wrapper is immune from any future enum changes.
Post Reply