Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yanorei32/lazyimage


https://github.com/yanorei32/lazyimage

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# Lazy Image
If you are using a platform with low memory, you can think of an image as an iterator of pixels.
This is because the image buffer can be larger than system memory.

Core idea is here:
```rust
pub trait Image

: Iterator + Debug
where
P: Debug,
{
fn size(&self) -> Size;
}
```