🗃 para

What?

A decoder and utility for the Flipnote Studios .ppm animation format.

Why this implementation over the original?

This implementation is

Speed

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.

Things To Come

Getting up and Running

Installation

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!

shell $ cargo install --git https://github.com/Usugata/para --branch main

If you are building and installing yourself, you must have Rust installed!

Usage

shell usage: para <in> <index option> <out> index options: gif thumb dump integer(u16)

Examples

Prebuilt Binaries

Prebuilt binaries for the latest release may or may not be found here.

Credits

License

MIT License