image-rs/image-tiff

Allow returning a tag data as a raw slice

RazrFalcon opened this issue · 2 comments

I'm looking for an ability to retrieve a tag data as &[u8] so I could parse it myself.

Is there a reason get_tag_u8_vec doesn't meet this need?

It allocates the buffer.