ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

gif playback is slower than it should be

Open Gawidev opened this issue 1 year ago • 7 comments

System information

  • Windows OS version: Windows 11 23H2
  • ImageGlass version: 9.1.8.723
  • ImageGlass release: Classic, portable

To Reproduce

Steps to reproduce the behavior:

  1. Open any gif file that has a fast playback speed (around <100ms per frame)

Actual behavior

  • Playback happens at what seems like a constant frame timing, but is slower than it should be

Expected behavior

The gif should play at the speeds specified in the file

Screenshots / Video / Sample image file

https://github.com/user-attachments/assets/474eaf69-36f6-4b76-b878-ab259a4fd596

This video displays ImageGlass side by side with Aseprite both playing the same gif file (with 20ms/frame timing). I start the playback in aseprite slightly too early, but regardless it takes very few loops for the playback in aseprite to overtake the one in ImageGlass entirely. Here is the file in question 3000000

Additional context

This effect is very hard to notice with gif files that have longer frames. Playback also seems to be even slower than usual when the file has a higher resolution.


Edit: I've recently found that this issue also applies to .webp animated pictures. Haven't checked but this may potentially also apply to other animated image formats.

Gawidev avatar Aug 30 '24 23:08 Gawidev

Agreed. ImageGlass 8 and below worked perfectly fine. Almost all GIFs in IG 9.0+ play at around 60-80% speed.

Warrior-Elite avatar Sep 02 '24 20:09 Warrior-Elite

Yeah I just tested and can confirm that gifs are playing slower

AmeJunn avatar Oct 09 '24 20:10 AmeJunn

yep same here

novaexe avatar Oct 23 '24 04:10 novaexe

Same here! Any fix?

KonoVitoDa avatar Jan 02 '25 18:01 KonoVitoDa

Same issue here, gifs are very slow

PresterJohn1601 avatar Jan 10 '25 21:01 PresterJohn1601

Can confirm.

TheConfusedlol avatar Jan 14 '25 03:01 TheConfusedlol

Incorrect playback with 7-bit depth formats.

Image Image

ACT-KK avatar Mar 01 '25 14:03 ACT-KK