#image-processing #error

nightly bin+lib petpet

Pet-pet generator in Rust. Translated from https://github.com/camprevail/pet-pet-gif.

7 releases (3 stable)

Uses new Rust 2021

2.2.1 Sep 4, 2022
2.1.1 Feb 2, 2022
0.7.1 Aug 8, 2021
0.6.0 Aug 8, 2021
0.1.0 Aug 8, 2021

#414 in Development tools

Download history 9/week @ 2022-08-12 16/week @ 2022-08-19 16/week @ 2022-08-26 44/week @ 2022-09-02 27/week @ 2022-09-09 9/week @ 2022-09-16 6/week @ 2022-09-23 19/week @ 2022-09-30 11/week @ 2022-10-07 3/week @ 2022-10-14 6/week @ 2022-10-21 13/week @ 2022-10-28 19/week @ 2022-11-04 12/week @ 2022-11-11 13/week @ 2022-11-18 8/week @ 2022-11-25

53 downloads per month
Used in petpet-gui

MIT license

100KB
110 lines

petpet-rs

crates.io

Example Image

Also petpet, but in Rust.

The default hands images were credited by PetPet Generator.

Here you can download more custom hands.

You can replace hand images in src/res then recompile petpet.

Note: crates.io's version is outdated.

Download

You can download the latest release from releases page.

Build

cargo +nightly build --release

Usage

cargo +nightly run --release -- <input_image> <output_gif> <encode_speed>

details about encode_speed

more visual performance line chart

Note that format of the input image must be the same as its extension explains,

otherwise you will get an error like Bad Signature!

Todo

  • transparent background: #1

  • Upload new version to crates.io: #2

Clicks

:petpet

Dependencies

~12MB
~135K SLoC