Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - talklittle/thumbnex: Elixir library to create thumbnails from images and video screenshots.

Elixir library to create thumbnails from images and video screenshots. - talklittle/thumbnex

Visit SiteGitHub - talklittle/thumbnex: Elixir library to create thumbnails from images and video screenshots.

GitHub - talklittle/thumbnex: Elixir library to create thumbnails from images and video screenshots.

Elixir library to create thumbnails from images and video screenshots. - talklittle/thumbnex

Powered by 0x5a.live ๐Ÿ’—

Thumbnex

Build Status Module Version

Elixir library to generate thumbnails from images and videos.

Documentation: https://hexdocs.pm/thumbnex/

Installation

Add :thumbnex to your list of dependencies in mix.exs:

def deps do
  [
    {:thumbnex, "~> 0.5.1"}
  ]
end

Prerequisites

Release notes

See the changelog for changes between versions.

Examples

Create a regular thumbnail:

Thumbnex.create_thumbnail(
  "/path/to/input.mp4",
  "/path/to/output.jpg",
  max_width: 200,
  max_height: 200
)

Create a lightweight animated GIF preview:

Thumbnex.animated_gif_thumbnail(
  "/path/to/input.mp4",
  "/path/to/output.gif",
  frame_count: 4,
  fps: 1
)

Copyright and License

Copyright (c) 2024 Andrew Shu

Thumbnex source code is licensed under the MIT License.

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.