r/madeinrust • u/programmersd21 • 10h ago
Majority AI Coded I built pixl, a native Rust image processing CLI
I've been working on pixl, a small image processing tool written entirely in Rust.
The idea was to build a lightweight, predictable CLI for everyday image manipulation, with everything running locally.
Some things it currently supports:
- Image formats: PNG, JPEG, WebP, BMP, GIF and QOI
- Transformations: resize, crop, rotate, flip and append
- Filters: grayscale, Gaussian blur and sharpen
- Colour operations: brightness, contrast, gamma and gradients
- Compositing: alpha-aware image compositing
- Inspection: image identification and pixel-level comparison
A few implementation details:
- Every decoded image uses a unified RGBA8 representation.
- Runtime SIMD detection with a portable scalar fallback.
- Bounded parallel processing using Rayon.
- Dimension and pixel limits checked before allocation.
- No GPU, network requests, telemetry or external services.
The project is split into four crates:
pixl-core– image representation and limitspixl-codecs– decoding and encodingpixl-ops– image operationspixl-cli– command parsing and execution
Example:
pixl input.png -grayscale -resize 800x0 output.webpIt's still early (0.1.0), and there's plenty left to improve. I'm particularly interested in feedback on the architecture, image-processing correctness and performance.
Repository: https://github.com/programmersd21/pixl
Would appreciate some feedback from fellow Rust developers.















1
u/AutoModerator 10h ago
Upvote this comment if you think this project is AI slop. Downvote this comment if you think this project is not AI slop.
This is to indicate to other users of the subreddit and is not used for moderation.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.