Files
pdfcraft/crates
Dylan M. Taylor 843fa6ee7f fix(create): image export checks a JPEG's Extended XMP chunks before decoding it
Image import already refused to hand the decoder a JPEG with more than 1024 Extended XMP chunks, which the pinned zune-jpeg re-sorts and rescans after every marker. Export decoded JPEG images and masks through zune-jpeg and image without that check. The check is now shared (upright_image::decodable_metadata) and runs before every export decoder entry point: jpeg_size, which jpeg_of_size goes through for RGB, grey and mask JPEGs, and cmyk_jpeg_samples.
2026-11-02 21:30:49 -05:00
..
…