Crates.io | para-cli |
lib.rs | para-cli |
version | 0.1.0 |
source | src |
created_at | 2022-03-23 06:26:45.98752 |
updated_at | 2022-03-23 06:26:45.98752 |
description | Decoder and utility for the Flipnote Studios .ppm animation format. |
homepage | https://github.com/Usugata/para |
repository | https://github.com/Usugata/para |
max_upload_size | |
id | 555063 |
size | 57,559 |
para
A decoder and utility for the Flipnote Studios .ppm
animation format.
This implementation is
In a two-hundred-forty-four frame .ppm
benchmark running the command
$ para ./benchmark.ppm gif benchmark.gif
on a twelve-core,
twenty-four-thread Ryzen 9 processor, para took an average of 566.9893 milliseconds,
while ppm-parser took an average of 50.4171397 seconds.
Running the command $ para ./benchmark.ppm 0 benchmark.png
on a twelve-core,
twenty-four-thread Ryzen 9 processor, para took an average of 8.6251 milliseconds,
while ppm-parser took an average of 358.2232 milliseconds.
Rust versus Python isn't very fair, however, this benchmark shows the speed improvements that para brings to the table.
.kwz
)Prebuilt binaries for x86_64-based Linux systems and Windows are available in the releases. If you are using a different operating system or architecture such as macOS, you'll have to build and install the tool yourself!
$ cargo install --git https://github.com/Usugata/para --branch main
If you are building and installing yourself, you must have Rust installed!
usage: para <in> <index option> <out>
index options:
gif
thumb
dump
integer(u16)
$ para ./example.ppm 23 example.png
will output the twenty-fourth frame
of example.ppm
to example.png
$ para ./example.ppm thumb example.png
will output the thumbnail of
example.ppm
to example.png
$ para ./example.ppm dump example.json
will output the metadata of
example.ppm
to example.json
$ para ./example.ppm gif example.gif
will output example.ppm
to example.gif
Prebuilt binaries for the latest release may or may not be found here.