emcconville / wand

The ctypes-based simple ImageMagick binding for Python
http://docs.wand-py.org/
Other
1.4k stars 197 forks source link

wand.resize — Advanced resizing module #30

Closed dahlia closed 12 years ago

dahlia commented 12 years ago

https://gist.github.com/3302248

Currently Wand provides Image.resize() method which implements the minimal primitive to resize images. In real world, there are so many cases to implement smarter resizing e.g. stretching when the original is smaller than the size to resize to, filling margin with a color.

We can provide higher-level helper functions to deal with such things.

dahlia commented 12 years ago

I just realized ImageMagick implements seam carving as well: MagickLiquidRescaleImage().