jdriscoll/django-imagekit — pull request #95 by matthewwithanm (2012-02-11 20:49:48+00:00)
Title: New processors

Here are the processors we've been discussing with @madisvain in #93 and #94. After this, the list will be as follows:

* crop
* BasicCrop - Crop using provided box
* Crop - Crop to provided size focusing on provided anchor point
* SmartCrop - Crop to provided size, trimming based on entropy
* TrimBorderColor - Trim the specified color from the specified sides
* resize
* BasicResize - Scale to the provided dimensions (can distort)
* Fit - Scale to fit the provided dimensions
* Fill - Scale to fill the provided dimensions, trimming away excess using Crop
* SmartFill - Scale to fill the provided dimensions, trimming away excess using SmartCrop
* Cover - Scale to the smallest size that will cover the specified dimensions. Used internally by Fill and SmartFill

(as well as those already in the processors module (Adjust, Reflection, Transpose, ProcessorPipeline)

Any objections to merging this in? Anything else you want? (If it's simple enough, maybe one of us can do it now; otherwise, we can file an issue and get to it after this round.)