Skip to content

v0.1.13

Choose a tag to compare

@lilith lilith released this 08 Apr 04:31
· 71 commits to main since this release

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 builder with_max_total_pixels(), check_total_pixels(), and LimitExceeded::TotalPixels variant; wired into check_image_info() when frame_count is known. (86dffb6)

Docs

  • Clarify that max_pixels is per-frame and max_total_pixels is the sum across all frames. (0d430a6)

Full Changelog: v0.1.12...v0.1.13