image_filter enhancement

ivan babrou ibobrik at gmail.com
Tue Nov 6 18:22:57 UTC 2012


Patch adds ability to align image before crop. It adds directive
image_filter_offset {left,center,right} {top,center,bottom};

For example, we could set:

image_filter crop 128 128;
image_filter_offset left top;

And get cropped image aligned to top left corner. It's quite useful
when dealing with photos of human beings :)

On 6 November 2012 22:16, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Tue, Nov 06, 2012 at 10:04:22PM +0400, ivan babrou wrote:
>
>> I should probably email my patch here to get some attention :)
>>
>> http://trac.nginx.org/nginx/ticket/241
>
> Please post patch here, not links.
>
> --
> Maxim Dounin
> http://nginx.com/support.html
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



-- 
Regards, Ian Babrou
http://bobrik.name http://twitter.com/ibobrik skype:i.babrou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image_filter_alignment.patch
Type: application/octet-stream
Size: 4652 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121106/9e6ddb74/attachment.obj>


More information about the nginx-devel mailing list