jpegxl-rs icon indicating copy to clipboard operation
jpegxl-rs copied to clipboard

does this support animated jxl?

Open BPplays opened this issue 1 year ago • 4 comments

does this wrapper support reading animated jxl files?

BPplays avatar Aug 21 '24 22:08 BPplays

Not currently, since almost no one demands it.

If I'm going to implement it, would you like to receive the image frame-by-frame or all the frames at once?

inflation avatar Aug 22 '24 01:08 inflation

If I'm going to implement it, would you like to receive the image frame-by-frame or all the frames at once?

@inflation i don't really know which one would be better, i made a PR TagStudioDev/TagStudio#357 using pillow-jpegxl-plugin which is using this wrapper. adding better support for animated images but qt only seems to support animated webp and gif so i would have to transcode it to webp still.

BPplays avatar Aug 22 '24 09:08 BPplays

Hmm. I'm not familiar with QT, but there should probably be a plugin for reading and writing jxl files for it.

inflation avatar Aug 23 '24 04:08 inflation

@inflation since i wrote that i got transcoding working. i just wanted to give the info on what i was working on if that might affect a decision on the type of implement you would go with. also i just added on to the existing implementation using QMovie but that only seems to support animated webp and gif and i just wanted to use the format support of Pillow to support more formats.

BPplays avatar Aug 23 '24 07:08 BPplays