Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ All notable changes to zencodec are documented here.

### Added

- **Color-signaling production policy** (`zencodec::color`) — `resolve_color_emit`
reconciles a `SourceColor` against a target's `EncodeCapabilities` under a
`ColorPolicy` (`Compatibility`/`Balanced`/`Compact`/`Verbatim`/`Custom`) and
returns a `ColorPlan { cicp, icc: IccDisposition }`: derive CICP from an ICC and
drop the redundant profile only where CICP is the format's authority and safe
as the sole carrier (`EncodeCapabilities::{cicp_is_format_authority,
cicp_safe_sole_carrier}` — JXL today), else keep/synthesize the ICC; grayscale
and CMYK suppress CICP. `IccRetention` gains `DropIfCicpRepresentable` /
`DropIfCicpSafeSoleCarrier`. Deliberately minimal surface (HDR/gain-map
dispositions + warnings notes deferred; `ColorPlan` is `#[non_exhaustive]`).
- **Field-level metadata retention** — `Metadata::filtered(&MetadataPolicy)`,
the shared filter for re-encode / recompress pipelines: keep what a
downstream image needs, strip the rest, without callers hand-parsing EXIF.
Expand Down
Loading