Skip to content

How to write Hdr file? #2195

Closed Answered by fintelia
zhouhang95 asked this question in Q&A
Apr 6, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You probably want to keep a copy of the Vec you're writing into:

let mut data = Vec::new();
let enc = HdrEncoder::new(&mut data);
...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zhouhang95
Comment options

@zhouhang95
Comment options

@fintelia
Comment options

Answer selected by zhouhang95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants