<div dir="ltr"><div class="gmail_quote"><div dir="ltr">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.<div><br></div><div>In attach:</div><div>nginx.patch - patch for main repo (<span style="color:rgb(0,0,0)"><a href="http://hg.nginx.org/nginx" target="_blank">http://hg.nginx.org/nginx</a></span>), </div><div>image_filter_2square.t - file with tests for (<span style="color:rgb(0,0,0);text-align:justify"><a href="http://hg.nginx.org/nginx-tests" target="_blank">http://hg.nginx.org/nginx-<wbr>tests</a></span>) </div><div>nginx_org.patch - docs for (<a href="http://hg.nginx.org/nginx.org/" target="_blank">http://hg.nginx.org/nginx.<wbr>org/</a>)</div><span class="HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div class="m_6741998566197585674gmail_signature"><div dir="ltr">С уважением,<br>Иванов Иван<br></div></div>
</div></font></span></div>
</div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">С уважением,<br>Иванов Иван<br></div></div>
</div>