mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-12 21:23:02 +00:00
* Use craft-heif from craft-libs; remove crates/heif PhotoCraft's HEIF decoder had drifted from LightCraft's by about 700 lines; both now use craft-heif (storytold/craft-libs#784), built from LightCraft's copy. HEIC colours now follow the HEVC VUI's range and matrix and libheif's chroma upsampling. 8-bit files still open as 8-bit documents; a colour description the VUI specifies now tags the image as an nclx did. The codecs -> heif standalone exception ends with the local crate, and the HEIF nextest step drops -p photocraft-heif, which no longer exists. * Pin craft-heif to the merge of storytold/craft-libs#794 * heif: count the decoder's 16-bit buffer against max_alloc * heif: match Apple's chroma upsampling; pin craft-heif to storytold/craft-libs#799 * heif: free the decoder's buffer before the HDR conversion and count that conversion's peak * heif: hold the canvas the decoder really allocates to max_alloc