This project has moved and is read-only. For the latest updates, please go here.

Difference between Scale, Resize en Thumbnail methods

Mar 17, 2015 at 5:02 PM

I noticed that a MagickImage object has "Scale", "Resize" en "Thumbnail" methods.

Maybe al silly question, but when would i use one over the other?
I did some testing but it looked like they all produced the same result.

Many thanks!

Mar 17, 2015 at 5:20 PM
You can find a good explanation here:
Mar 17, 2015 at 5:52 PM
Hi there,

Thanks for taking the time to answer my question.
Maybe it's because i'm an idiot, but the page you referenced confuses me because it's full of cross-links to terms i don't really understand.

Below is what ( i think) i understood.
Could you tell me if my summary is correct?

Most commonly used.

  • a simplified, faster form of the resize command.
  • great for showing a clean unblurred magnification of an image.
  • Less suited for minifying a real-world photograph ( it tends to look overlay sharp, with aliasing ('staircase') effects along sharp edges)
  • Resize with profile stripping
  • Designed specifically for shrinking very very large images to small thumbnails.
Short Summary ?
  • Use Scale for enlarging an image
  • Use Thumbnail for creating a image smaller than the original without profile data
  • Use Resize for other scenarios?
Mar 18, 2015 at 6:47 AM
I think that is a pretty good summary. But I don't think you ever want to enlarge an image unless you like the artistic effect of the artifacts.