Fwd: Patch. Add new directive '2square' for image_filter

Иван Иванов ivanovdiit at gmail.com
Wed Jun 28 20:33:05 UTC 2017


Add new directive '2square' to image_filter, which resizes and converts
image in square and add white border. It's cood be usefull for convert
image for facebook banners.

In attach:
nginx.patch - patch for main repo (http://hg.nginx.org/nginx),
image_filter_2square.t -  file with tests for (http://hg.nginx.org/nginx-
tests)
nginx_org.patch - docs for (http://hg.nginx.org/nginx.org/)

-- 
С уважением,
Иванов Иван



-- 
С уважением,
Иванов Иван
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170628/7627cbeb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.patch
Type: text/x-patch
Size: 6376 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170628/7627cbeb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx_org.patch
Type: text/x-patch
Size: 3058 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170628/7627cbeb/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image_filter_2square.t
Type: application/x-troff
Size: 2028 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170628/7627cbeb/attachment.t>


More information about the nginx-devel mailing list