Home

Awesome

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;