imbuf 0.2.0

Image buffers that abstract over underlying storage (Vec, Arc, or custom backends). Features copy-on-write semantics for efficient memory usage.
Documentation
1
2
3
4
5
6
7
[![CI](https://github.com/mineichen/image-buffer/actions/workflows/test.yml/badge.svg)](https://github.com/mineichen/image-buffer/actions/workflows/test.yml)

This crate provides image buffers, which can be used to hide the underlying storage.

- FFI compatible
- Ability to support buffers from other libraries like "opencv" without copying (type erasure)
- Copy on write capability, so buffers can be reused if the inner representation is not shared