Skip to content

Traverse-Research/clf-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common LUT Format (CLF) parser

Actions Status Latest version Documentation Lines of code MIT Contributor Covenant MSRV

Banner

A Common LUT Format (CLF) file can include a series of color operators that transform color values between different color spaces. CLFs can be created with OpenColorIO and integrated into your application to manage color workflows.

Currently, this parser does not implement all operators specified in the standard. If you need additional operators, feel free to open an issue or submit a pull request.

https://docs.acescentral.com/specifications/clf

https://github.com/AcademySoftwareFoundation/OpenColorIO

Supported features

Operators

  • LUT1D
  • LUT3D
  • Range

Bit depths

  • 32F

Usage

Add this to your Cargo.toml:

[dependencies]
clf-parser = "0.2.0"
fn main() -> anyhow::Result<()> {
    let reader = std::fs::OpenOptions::new().read(true).open("my_file.clf")?;
    let clf = clf_parser::load_clf(reader)?;
    Ok(())
}

About

🦀 Common LUT Format (CLF) parser

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages