Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mschenck/ngx_http_gif_magick

nginx http filter module for dynamically resizing gifs with ImageMagick
https://github.com/mschenck/ngx_http_gif_magick

Last synced: 3 months ago
JSON representation

nginx http filter module for dynamically resizing gifs with ImageMagick

Lists

README

        

ngx_http_gif_magick
----

nginx http filter module for dynamically resizing gifs with ImageMagick

*NOTE*: This is a side project and not yet tested against all of the nuenced forms GIF files can take.

# Configuration settings

## Enabling
_default: disabled_

gif_magick on;

## Buffer size
_default: 20m_

Limits the maximum image size

gif_magick_buffer 20m;

## Resizing

If you select only `gif_magick_width` or `gif_magick_height`, then the aspect ratio will be retained. You must specify at least one.

### Resize width

gif_magick_width 420;

### Resize height

gif_magick_height 320;