Fly v0.1.4 Fly.Worker.Resize

Resize worker for Fly.

Fly.Worker.Resize is an example worker for Fly that retains the input file’s filetype but resizes it to the specified configuration that’s passed at runtime.

Summary

Functions

Resizes the input

Functions

call(input, config)

Resizes the input.

The config argument should have a size key whose value is a string that will be passed to ImageMagick’s convert program’s resize argument.