image-to-ppm

Crates.ioimage-to-ppm
lib.rsimage-to-ppm
version0.1.1
sourcesrc
created_at2024-02-15 06:54:04.47627
updated_at2024-02-15 08:54:50.471472
descriptionConvert images to PPM (raw pixel format)
homepage
repositoryhttps://github.com/Struck713/image-to-ppm
max_upload_size
id1140739
size19,577
Noah Struck (Struck713)

documentation

https://docs.rs/image-to-ppm

README

image-to-ppm

PPM is like the WAV file of images. It's just raw pixel data. So I wrote this Rust program to make images worse by converting them to PPM.

Currently, this program can convert JPG and PNG images to PPM.

You can install the program using Cargo, simply run: cargo install image-to-ppm and then you can use the command from your command line (assuming your Rust installation is correctly configured).

Building

You can build the project using the traditional cargo build command. If you need a release build, you can use cargo build --release.

Usage

To use it, simply run: image-to-ppm <input file> <output file>

  • <input file> will accept any .jpg or .png image.
  • <output file> will accept any file that ends in .ppm.

You can use image-to-ppm --help to see this information in the shell.

Commit count: 0

cargo fmt