[SOLVED] Magick++: evaluate

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
olear
Posts: 58
Joined: 2015-05-24T10:56:42-07:00
Authentication code: 6789

[SOLVED] Magick++: evaluate

Post by olear »

Hi, got some old scripts that needs to be converted to Magick++, mostly no issues, but I hit the wall with evaluate.

The current script does this:
... -evaluate multiply <value> ...

But how does this translate to Magick++? Sorry if this is a stupid question :) (couldn't find any info)
Last edited by olear on 2015-08-29T09:38:17-07:00, edited 1 time in total.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Magick++: evaluate

Post by dlemstra »

You should use the quantumOperator method for that. I just submitted a patch to rename that method to evaluate in ImageMagick 7.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
olear
Posts: 58
Joined: 2015-05-24T10:56:42-07:00
Authentication code: 6789

Re: Magick++: evaluate

Post by olear »

Thanks for the info (and patch), I found the quantumOperator, seems to work :)
Post Reply