? The best resize method in magick++?

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
igorvlassov

? The best resize method in magick++?

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

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

Post by magick »

Use image.resize() to resize an image like the -resize command line option.
igorvlassov

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

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

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

Post by magick »

Strange indeed. Works for us, we're using ImageMagick 6.3.6-3, the current release.
igorvlassov

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

Post by igorvlassov »

Hmm. May be old version...
Post Reply