#gif #webp #convert #lottie

bin+lib lottieconv

Convert lottie files to WEBP or GIF

7 releases

0.3.0 Oct 14, 2023
0.2.3 Aug 27, 2023
0.2.2 Nov 4, 2022
0.2.1 Oct 7, 2022
0.1.2 Jul 16, 2022

#875 in Images

Download history 11/week @ 2024-06-16 5/week @ 2024-06-23 28/week @ 2024-06-30 7/week @ 2024-07-14 1/week @ 2024-07-21 55/week @ 2024-07-28 8/week @ 2024-08-04 1/week @ 2024-08-11 5/week @ 2024-08-18 14/week @ 2024-08-25 12/week @ 2024-09-01 8/week @ 2024-09-08 4/week @ 2024-09-15 51/week @ 2024-09-22 10/week @ 2024-09-29

73 downloads per month
Used in 3 crates (2 directly)

MIT license

32KB
716 lines

lottieconv lottieconv on crates.io lottieconv docs License: MIT

This crate can act both as a library to convert lottie files to either webp or gif files, as well as binaries to do the conversion.

lottie2gif

This requires the features clap and gif to be active.

Convert lottie files GIF

Usage: lottie2gif [OPTIONS] <lottieFileName> [bgColor]

Arguments:
  <lottieFileName>  The location of the lottie file
  [bgColor]         The background color in hexadecimal format [default: 0]

Options:
      --non-transparent  Disable background transparency
  -o, --out <output>     The output file
  -h, --help             Print help information

lottie2webp

This requires the features clap and webp to be active.

Convert lottie files WEBP

Usage: lottie2webp [OPTIONS] <lottieFileName>

Arguments:
  <lottieFileName>  The location of the lottie file

Options:
  -o, --out <output>  The output file
  -h, --help          Print help information

Dependencies

~0.4–4MB
~69K SLoC