Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanorei32/lazyimage
https://github.com/yanorei32/lazyimage
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanorei32/lazyimage
- Owner: yanorei32
- Created: 2023-12-18T09:32:01.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-10-23T15:07:37.000Z (13 days ago)
- Last Synced: 2024-10-23T19:08:03.098Z (13 days ago)
- Language: Rust
- Size: 118 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
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;
}
```