Skip to content

v0.2.1

Choose a tag to compare

@lilith lilith released this 29 Mar 05:22
· 119 commits to main since this release

What's new

  • serde feature — optional Serialize/Deserialize derives on all core types (PixelDescriptor, Cicp, ChannelType, ChannelLayout, AlphaMode, TransferFunction, ColorPrimaries, SignalRange, ContentLightLevel, MasteringDisplay, etc.)
  • Automatic gamut conversion in RowConverter — primaries conversion (BT.709 ↔ Display P3 ↔ BT.2020) via 3×3 matrix in linear f32 space, no manual step needed
  • Embedded ICC profiles — CC0-licensed profiles for Display P3, AdobeRGB, Rec2020, ProPhoto via icc_profile_for_primaries()

Bug fixes

  • Display P3 now correctly identified with sRGB TRC (code 13) instead of BT.709 (code 1)
  • allow_use_cicp_transfer disabled in moxcms CMS path — transfer functions handled explicitly by RowConverter
  • Matte compositing now blends in linear light, fixing darkening at semi-transparent edges

Full changelog: https://github.com/imazen/zenpixels/blob/main/CHANGELOG.md#021