mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-21 20:39:22 +00:00
* Images: decode TIFF screen and link proxies at a reduced size (#2381) Stream placed TIFFs a strip or tile row at a time through craft_image_codecs::TiffBands into 1/2, 1/4 or 1/8 RGBA buffers (512 MiB per band, 1 GiB reduced output) with alpha-weighted box averaging and embedded ICC / working-CMYK display conversion. Wire reduced TIFF sizes and estimates into designcraft-render's screen mip cache (clamping oversized rasters to reduced levels when zooming in so decode_full does not poison the cache entry) and linked-file proxy generation. * Images: round up in finest_level and cover 512 MiB single-strip cap (#2381) Match the reduced decoder's round-up dimensions (`div_ceil(2)`) when selecting `finest_level` so odd oversized widths such as 131071x128 pick a level whose decoded buffer fits `Pixmap` and the 1 GiB RGBA cap before cropping. Replace the truncated header-only single-strip assertion with a complete zlib-compressed single-strip CMYK TIFF above the 512 MiB band limit. * Images: count orientation/float/Lab in reduced TIFF estimate and lighten tests (#2381) * Images: include partial-cell map bound in reduced TIFF peak estimate (#2381) --------- Co-authored-by: TS-Ca <[email protected]>