thumbnex v0.1.0 Thumbnex
Create thumbnails from images and videos.
Summary
Functions
Create a thumbnail image
Functions
Specs
create_thumbnail(binary, binary, Keyword.t) :: :ok
Create a thumbnail image.
Image format is inferred from output path file extension.
To override, pass the :format option.
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.:format- Output format for the thumbnail. Defaults to infer fromoutput_path.:time_offset- Timestamp in seconds at which to take screenshot, for videos and GIFs. By default picks a time near the beginning, based on video duration.