Using fuzz in Magick++ trim
Posted: 2009-10-01T14:34:12-07:00
Hi
I need to trim an image but the area I need to trim isn't a single colour so I need to use the fuzz option. It works fine from the command line but I need to be able to do it from Magick++. I've looked at the API and seen that the trim() method doesn't allow you to set a fuzz value and it doesn't seem to take note of the fuzz value set by the colorFuzz() method.
Does anyone have any ideas of how I can achieve this?
I need to trim an image but the area I need to trim isn't a single colour so I need to use the fuzz option. It works fine from the command line but I need to be able to do it from Magick++. I've looked at the API and seen that the trim() method doesn't allow you to set a fuzz value and it doesn't seem to take note of the fuzz value set by the colorFuzz() method.
Does anyone have any ideas of how I can achieve this?