Thumbnex.animated_gif_thumbnail

You're seeing just the function animated_gif_thumbnail, go back to Thumbnex module for more information.
Link to this function

animated_gif_thumbnail(input_path, output_path, opts \\ [])

Specs

animated_gif_thumbnail(binary(), binary(), Keyword.t()) :: :ok

Create an animated GIF preview.

Options:

  • :width - Width of the thumbnail. Defaults to input width.
  • :height - Height of the thumbnail. Defaults to input height.
  • :max_width - Maximum width of the thumbnail.
  • :max_height - Maximum height of the thumbnail.
  • :frame_count - Number of frames to output. Default 4.
  • :fps - Frames per second of output GIF. Default 1.
  • :optimize - Add mogrify options to reduce output size. Default true.