v0.1.8
Unify Orientation with zenpixels::Orientation.
The local Orientation enum is removed; zencodec now re-exports the canonical zenpixels::Orientation type with full D4 dihedral group algebra (compose, inverse, forward_map).
Breaking changes (variant/method renames)
| Old | New |
|---|---|
Normal |
Identity |
FlipHorizontal |
FlipH |
FlipVertical |
FlipV |
from_exif(u16) -> Self |
from_exif(u8) -> Option<Self> |
exif_value() -> u16 |
to_exif() -> u8 |
swaps_dimensions() |
swaps_axes() |
display_dimensions() |
output_dimensions() |
Migration
// old
Orientation::from_exif(v as u16)
// new
Orientation::from_exif(v as u8).unwrap_or_default()All prior 0.1.x versions have been yanked. This is the only non-yanked 0.1.x release.