MaddTheSane / Simple-Comic

macOS comic viewer
MIT License
255 stars 21 forks source link

Animated WebP files do not play in SimpleComic #114

Open CyberSkull opened 5 months ago

CyberSkull commented 5 months ago

SimpleComic does not play animated WebP files, either in an archive or in a folder.

SimpleComic Version 1.9.8 (355) on macOS 14.4.1, M2.

nickv2002 commented 4 months ago

Related to https://github.com/MaddTheSane/Simple-Comic/issues/68

Solution is probably to update to a newer WebP library. I haven't dug into the code but it looks like we use another project by MadTheSane: https://github.com/MaddTheSane/ios-osx-webp-decoder Maybe use the default decoder in macOS now that WebP is supported?

Here's an example animated WebP image to test with: in macOS 14.4 I could see it animate with QuickLook and in Safari but not in SimpleComic as reported.

However, animated image support is a non-goal feature: if it works with no/minimal effort that's great, but it's not part of the core Simple Comic feature set at this time IMO.

MaddTheSane commented 4 months ago

In later macOSes, it uses Apple's built-in WebP decoder.

I'll see if there's a way to animate WebP using Apple's APIs.