adaptive-resize

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dognose
Posts: 265
Joined: 2005-03-08T22:16:37-07:00

adaptive-resize

Post by dognose »

Now that I got a test version of 6.2.9 working, I've been looking at the new adapative-resize option.

I've noticed that it can be significantly faster, up to twice as fast on big resizes. I've also noticed that the resulting image can be a lot different. It seems that adaptive-resize makes the new image much sharper than regular resize.

I'm just wondering what others have found with this, and if you'd be replacing your regular resize option with the adaptive-resize version.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: adaptive-resize

Post by anthony »

Yes I am now answering a very old, old post. BUt I now have something to report.

As part of my recent studies and updates of IM resize filter handling (in the next IM release v6.3.6-3) that -adaptive-resize is really a resize basied on a simple -interpolate mesh method.

Basically this confirms your findings. -adaptive-resize will work very will in preventing excessive blurring in image enlargments, and slight image shrinking. However if the shrinking is more than 50% than it will act more like a -sample type of image resizing operator.

I am currently updating IM examples page on Resize (specifically to document my new found knowledge, and the new filter handling methods) when I found a reference you your comments on the forum. So I now was about to give a definitive response.

PS: I have left the above comments on the IM Examples Resize page under
http://imagemagick.org/Usage/resize/#adaptive-resize This page itself howver may take a couple of days to update with all the new info.

Enjoy.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply