https://github.com/yanorei32/lazyimage
https://github.com/yanorei32/lazyimage
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanorei32/lazyimage
- Owner: yanorei32
- Created: 2023-12-18T09:32:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-18T11:54:23.000Z (4 months ago)
- Last Synced: 2025-03-18T12:36:42.548Z (4 months ago)
- Language: Rust
- Size: 136 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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;
}
```