v0.1.13
Features
- New format detection: JP2 (JPEG 2000), DNG (Digital Negative), camera RAW (CR2/CR3, RAF, RW2, ORF, SubIFD TIFFs), and SVG. Detection priority is DNG > RAW > TIFF to handle shared TIFF magic bytes; SVGZ is intentionally excluded to avoid gzip false positives. (02dd783)
ResourceLimits::max_total_pixels: cumulative pixel cap across all frames (width × height × frame_count). Closes a gap where animations with many individually-legal frames could still exhaust memory. New builderwith_max_total_pixels(),check_total_pixels(), andLimitExceeded::TotalPixelsvariant; wired intocheck_image_info()whenframe_countis known. (86dffb6)
Docs
- Clarify that
max_pixelsis per-frame andmax_total_pixelsis the sum across all frames. (0d430a6)
Full Changelog: v0.1.12...v0.1.13