Still.Preprocessor.Image (Still v0.1.1) View Source

This preprocessor handles image transformation. To configure it, set :image_opts in the metadata:

%{

image_opts: %{
  sizes: [100, 200],
  transformations: [color_filter: "grayscale_bt709"]
}

}

:sizes defines the widths of the output files to create.

:transformations defines the function name and arguments to call on the adapter. See Imageflow's docs and imageflow_ex or ImageMagick's docs for more information.

When :image_opts is not set, it copies the input file to the output file as it is.

Link to this section Summary

Link to this section Functions