mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
probe_size returned Unsupported for PNG, JPEG and TIFF, so callers sized those images with a full decode. Each now reads only its header with the checks decode runs: PNG's IHDR/fcTL, limits and plausibility; JPEG's first frame header and EXIF; TIFF's default page directory, camera-raw refusal and Orientation tag. The size is turned upright for 5-8, as decode returns it.