github cshum/imagor v0.8.6

latest releases: v1.9.5, v1.9.4, v1.9.3...
4 years ago

Introducing frames filter

  • frames(n[, delay]) set the number of frames to repeat for animation with gif or webp. Otherwise, stack all the frames vertically
    • n number of frames to repeat
    • delay frames delay in milliseconds, default 100

Frames filter allows you to control number of frames and animation speed. It also allows animating a static image in conjunction with a gif watermark. Example:

http://localhost:8000/unsafe/fit-in/200x200/filters:fill(white):frames(8,150):watermark(raw.githubusercontent.com/cshum/imagor/master/testdata/dancing-banana.gif,center,bottom):format(gif)/raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png

gopher

Changes

  • feat(vips): frames filter
  • fix(vips): watermark missing args
  • build: update vips to v8.12.2

Don't miss a new imagor release

NewReleases is sending notifications on new releases.