John MacFarlane and Claude
dc9e46ed1d
ImageSize: determine PNG size without decoding the image.
...
As with the earlier JPEG change: JuicyPixels' decodeImageWithMetadata
fully decodes paletted PNGs before returning any metadata (other PNG
color types are decoded lazily, but still allocate). Instead, read
the dimensions from the IHDR chunk and the resolution from the pHYs
chunk, using the same unit conversion as JuicyPixels, so results are
unchanged. If the header scan fails, we still fall back to the full
decoder.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-09-07 05:32:42 +00:00
..
2026-09-06 13:28:54 -07:00
2026-09-04 10:07:36 -07:00
2026-02-16 13:54:34 +01:00
2026-07-12 12:51:11 +02:00
2025-11-24 22:37:39 +01:00
2026-08-18 10:24:49 -07:00
2026-06-03 12:23:44 +02:00
2026-09-07 05:32:42 +00:00
2025-11-24 23:10:33 +01:00
2025-11-29 17:04:42 +01:00
2025-11-29 17:04:42 +01:00
2025-11-29 17:04:42 +01:00
2026-08-11 09:32:06 -07:00
2026-07-10 22:42:10 +02:00
2026-01-03 12:36:19 -05:00
2026-01-03 12:36:19 -05:00
2026-05-30 19:11:14 +02:00
2026-08-26 09:51:03 -07:00
2026-05-26 22:44:17 +02:00
2026-08-26 09:51:03 -07:00
2026-08-26 09:51:03 -07:00
2025-11-05 12:49:46 +01:00
2026-07-08 00:41:30 +02:00
2026-07-12 12:50:54 +02:00
2026-09-07 04:55:13 +00:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-09-05 22:06:06 -07:00
2026-09-05 22:06:06 -07:00
2026-07-09 01:12:18 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-08-16 16:25:00 -07:00
2026-08-26 09:51:03 -07:00
2026-08-26 09:51:03 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-08-31 18:12:23 -07:00
2026-08-31 18:12:23 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-14 17:34:15 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-04 18:52:14 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-08 00:41:30 +02:00
2026-07-12 12:50:54 +02:00
2026-07-01 11:17:21 +02:00
2026-07-11 10:57:33 +02:00
2026-07-01 11:17:21 +02:00
2026-09-04 09:37:08 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-03-22 10:36:15 +01:00