thebuzzmedia/imgscalr — Issue #48: Pad function
Author: thebuzzmedia
Created: 2011-10-26 23:42:27+00:00
State: open
Labels: feature

As a compliment to the crop function being considered it may be helpful to offer a simple pad function that resizes the image but fills in the new space with a solid color (provided by the caller)

May also be helpful to consider allowing anchoring of the image, but this can open up a can of enum-worms as there are 9 potential anchor points.

Will likely just default to centering the image.