thebuzzmedia/imgscalr — Issue #49: Discrete access to specific image operations
Author: thebuzzmedia
Created: 2011-10-28 00:35:55+00:00
State: open
Labels: improvement

Right now all the image operations (resize, rotate and in the future crop/pad/etc.) are done by calling one of the resize methods.

It could be helpful to have direct access to that functionality without invoking a resize. For example, if you just want to crop an image.

At first glance it seems like simple crop(), flip(), rotate(), etc. methods added to Scalr would be the way to go (and then the matching methods added to AsyncScalr).

If the methods are all simple single-definitions, this is the way to go. If they can cause many different variations, may need to consider a separate Opr, Ops, ImageOps (whatever) class to include those in.

This will likely cause the removal of rotation-enabled methods on Scalr already which will be a breaking change for 4.0