Skip to content

nginx http filter module for dynamically resizing gifs with ImageMagick

Notifications You must be signed in to change notification settings

mschenck/ngx_http_gif_magick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

nginx http filter module for dynamically resizing gifs with ImageMagick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published