Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yageek/tiff

:city_sunrise: Access TIFF image with Rust
https://github.com/yageek/tiff

rust-crate tiff-format

Last synced: 16 days ago
JSON representation

:city_sunrise: Access TIFF image with Rust

Awesome Lists containing this project

README

        

# TIFF

Access TIFF image using Rust

# Reading

```rust
let bytes: &[u8] = include_bytes!("../samples/ycbcr-cat.tif");
let mut cursor = Cursor::new(bytes);
let mut read = TIFFReader::new(&mut cursor).unwrap();
let field = read.get_field::().unwrap();
print("YResolution: {}", field.0);
```