johannesvollmer / exrs

100% Safe Rust OpenEXR file library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChannelGroups?

fursund opened this issue · comments

How would I read a legacy EXR with layer names as "ChannelGroups" separated by "." in the name? Can't seem to find a way in the code.

Hi! This feature has not been fully implemented yet. The prototype exists, but doesn't work. Currently, you have to analyze the channel names on your own. Maybe I can have another look at the feature in the next days

https://github.com/johannesvollmer/exrs/blob/legacy_layers/src/image/channel_groups.rs

Here is the file with some ideas sketches - maybe it can help you to implement your own grouping algorithm until this library supports it

Thanks!

I'm currently working on it and theres good progress, see #147 (note, it also contains a lot of other improvements, not all of those changes would be necessary for grouping the channels)

Nice! Looking forward to see how it works!