Page 1 of 1

? The best resize method in magick++?

Posted: 2007-10-27T08:01:45-07:00
by igorvlassov
Hello,
I tried to use Image.scale() and Image.sample() methods for low to high resolution but find them very rough.
Can you say what method can scale images more acurately, like -resize option in convert tool?

Thanks,
Igor

Re: ? The best resize method in magick++?

Posted: 2007-10-27T10:19:48-07:00
by magick
Use image.resize() to resize an image like the -resize command line option.

Re: ? The best resize method in magick++?

Posted: 2007-10-28T00:44:31-07:00
by igorvlassov
When I try this I get the message:
error: ‘class Magick::Image’ has no member named ‘resize’
I have version 6.2.3

Re: ? The best resize method in magick++?

Posted: 2007-10-28T06:43:54-07:00
by magick
Strange indeed. Works for us, we're using ImageMagick 6.3.6-3, the current release.

Re: ? The best resize method in magick++?

Posted: 2007-10-28T10:29:41-07:00
by igorvlassov
Hmm. May be old version...