Commit Graph
19 Commits
Author SHA1 Message Date
Dylan M. Taylor 30209caad8 feat(gif,image-codecs): add indexed/interlaced GIF, jpeg_progressive_scans, and JP2 decode (#1358)
* feat(gif,image-codecs): add indexed/interlaced GIF, jpeg_progressive_scans, and JP2 decode

* chore: update Cargo.lock for craft-image-codecs jp2 dep

* fix(image-codecs,svg): deref jp2 ch and re-export resvg from craft_svg::tree::draw
2026-11-14 15:13:21 -05:00
Dylan M. Taylor 543e5d4983 Validate GIF frame length before copying 2026-11-14 00:34:24 +00:00
Dylan M. Taylor d5e9fd7a49 Preserve GIF writer default disposal 2026-11-13 23:37:55 +00:00
Dylan M. Taylor 86621fbab3 Keep GIF render batches palette-quantized 2026-11-13 22:49:33 +00:00
Dylan M. Taylor f399135165 Merge remote-tracking branch 'origin/main' into codex/gif-animation-writer 2026-11-13 22:22:08 +00:00
Dylan M. Taylor 6159ef9c39 Bound streaming GIF writer lifecycle 2026-11-13 22:09:54 +00:00
Dylan M. Taylor 8b8603c6e7 Support streaming animated GIF output 2026-11-13 22:08:57 +00:00
Dylan M. Taylor 2b4f6b4f87 Add shared animated GIF writer 2026-11-13 22:05:00 +00:00
Dylan M. Taylor 74337e8fc5 fix(gif): report frame cap after merging 2026-11-13 21:27:44 +00:00
Dylan M. Taylor 830e897714 Merge craft-libs main after GIF limits 2026-11-13 21:09:43 +00:00
Dylan M. Taylor 669d62e755 docs(gif): clarify combined allocation budget 2026-11-13 20:36:02 +00:00
Dylan M. Taylor ededdd75c9 gif: expose first-frame data byte count 2026-11-13 19:51:49 +00:00
Dylan M. Taylor 0b73ba5337 Clarify GIF decoder combined allocation budget 2026-11-13 19:43:38 +00:00
Dylan M. Taylor 3c51d88330 gif: stop at requested frame limit 2026-11-13 19:20:05 +00:00
Dylan M. Taylor a8b889fe2a gif: expose bounded first-frame pixel coverage and ICC metadata 2026-11-13 19:16:25 +00:00
Dylan M. Taylor 9496c93881 fix: classify gif limits and clarify webp canvas cap 2026-11-13 19:04:36 +00:00
Dylan M. Taylor 70451cf4db feat: cap individual gif and webp frame decode allocations 2026-11-13 19:04:36 +00:00
Dylan M. Taylor aa84415bae craft-gif, craft-webp: bounded frame decoding through the image crate (feature frames) (#1028)
* craft-gif: bounded frame decoding through the image crate (feature frames)

* craft-webp: bounded frame decoding through the image crate (feature frames)

Like craft-gif's: every frame composited, a still as one frame, canvas cap
checked from the headers, stops at the frame or byte limit or at a damaged
frame and says which, optional merging of identical frames.
2026-11-11 20:43:12 -05:00
Dylan M. Taylor 77591e5efb craft-gif: GIF block reader (#939)
One walk over a GIF's blocks, without decompressing pixels: the logical
screen, each frame's position, delay, disposal and transparent colour, the
loop count and the first frame's colour table. Replaces PhotoCraft's two
block walkers and gives the other apps a header-only animation probe.
2026-11-11 18:53:16 -05:00