Warning
Project under active rewrite for Linux and caching optimizations
V0.6.0-beta will be Linux-only |
Not production-ready |
⭐ Star for updates
Note
V0.6.0-beta Release date: 02/03/2025
v0.7.0-beta Release date: 09/03/2025
Due to undergoing rewrite the documentation can be outdated.
| Docs | Usage | References |
Nano Image Server is a tiny, blazingly fast service to serve images with support for image operation on fly.
It is truly asynchronous, Memory safe and thread safe. Built upon axum and tokio runtime. The image processing, encoding and decoding are done by the image crate. GPU support and caching are planned before the stable release.
- Low latency Image delivery
- Caching and Instant Retrieval
- Basic image operations on fly via url queries
- Place Images you need in images folder next to the executable
- Start the server
./nano_image_server #Linux
- Access the server from port 8000 in localhost.
- To get image go to
/<imagename>.<format>
Warning
A plugin based system for image operations is being developed. The provided API can change drastically until stable release.
Operation | Query | Examples |
---|---|---|
Resize | resfilter=nearest/triangle/lanczos | resfilter=nearest |
Filter | filter=blur/bw/brighten/contrast | filter=blur&f_param=1.0 |
Transform | transform=fliph/flipv/rotate | transform=rotate&t_param=90 |
Convert | to=format | to=webp |
Format | Support Level |
---|---|
AVIF | Decode: Yes*, Encode: Lossy |
BMP, GIF, ICO, JPEG, PNG | Full Support |
WebP | Decode: Yes, Encode: Lossless |
TIFF, TGA, PNM, QOI, HDR, EXR | Full Support |