image_filter_jpeg_quality based on size

Quintin Par quintinpar at gmail.com
Tue Mar 20 07:08:52 UTC 2012


Let me rephrase my Q :-)

Can I find out the file size in a location directive?
-Quintin

On Sat, Mar 17, 2012 at 9:31 AM, Quintin Par <quintinpar at gmail.com> wrote:

> Hi all,
>
> In the --with-http_image_filter_module:
>
> Can I set image_filter_jpeg_quality based on image size? Say I want to
> apply a loss of 75 to all images greater than 400KB. For the rest do
> nothing.
>
> -Quintin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120320/20213568/attachment.html>


More information about the nginx mailing list