rust-lcms2:Rust中的ICC颜色配置文件

时间:2024-06-11 09:06:21
【文件属性】:

文件名称:rust-lcms2:Rust中的ICC颜色配置文件

文件大小:40KB

文件格式:ZIP

更新时间:2024-06-11 09:06:21

rust ffi-wrapper rust-library color-profiles icc-profile

用于包装器 使用安全的抽象层为LCMS库转换和应用颜色配置文件。 有关该函数的更多背景信息,请参见Rust函数的和 / 。 use lcms2 :: * ; fn example () -> Result <(), std::io::Error> { let icc_file = include_bytes! ( "custom_profile.icc" ); // You can use Profile::new_file("path"), too let custom_profile = Profile :: new_icc (icc_file)?; let srgb_profile = Profile :: new_srgb (); let t = Transform :: new ( & custom_profile, PixelFormat


【文件预览】:
rust-lcms2-main
----.gitignore(18B)
----src()
--------mlu.rs(5KB)
--------pipeline.rs(4KB)
--------stage.rs(4KB)
--------flags.rs(5KB)
--------error.rs(1KB)
--------namedcolorlist.rs(4KB)
--------ext.rs(8KB)
--------tag.rs(7KB)
--------transform.rs(13KB)
--------ciecam.rs(2KB)
--------context.rs(7KB)
--------locale.rs(3KB)
--------eval.rs(2KB)
--------profile.rs(22KB)
--------lib.rs(3KB)
--------tonecurve.rs(7KB)
----Cargo.toml(679B)
----.gitmodules(82B)
----examples()
--------gamma.rs(1KB)
--------thread.rs(1KB)
--------compare.rs(1KB)
--------tags.rs(790B)
----README.md(2KB)
----tests()
--------transform.rs(4KB)
--------tinysrgb.icc(524B)
--------gray18.icc(408B)
--------sGray.icc(2KB)
----sys()

网友评论