jxl finite animated images should loop the correct number of times
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
| Assignee | ||
Updated•28 days ago
|
| Assignee | ||
Comment 1•28 days ago
|
||
On the ImageDecoder interface repetitionCount being 0 mean one total play through, see https://github.com/w3c/webcodecs/issues/932
On the jpeg xl side, num_loops being 0 means to loop infinitely https://github.com/libjxl/libjxl/blob/6553831b39a542d6450e76ca5afb64520649d838/lib/jxl/headers.h#L87 and then I confirmed with Jon Sneyers that num_loops being 1 means to have one total play through. (If num_loops being 1 meant two total play throughs then there would be no way to specify one total play through, so that is good.)
There doesn't appear to be any tools that can make finitely looping animated jxl files at this time, so a c file using libjxl was created to create them.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59513 for changes under testing/web-platform/tests
Comment 4•21 days ago
|
||
| bugherder | ||
Upstream PR merged by moz-wptsync-bot
Description
•