nginx http filter module for dynamically resizing gifs with ImageMagick
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
config
ngx_http_gif_magick_module.c

README.md

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;