mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
329 stars 171 forks source link

GIF PropertyTagLoopCount PropertyItem always returns 0 #704

Open jeffhandley opened 3 years ago

jeffhandley commented 3 years ago

The GIF PropertyTagLoopCount Property Item is always returning 0, even when a loop count is specified within the image.

This was discovered on Ubuntu 20.04 using the following test image.

animated-timer-100fps-repeat-2

The expected output is [1, 0] to indicate the image repeats twice (1 loop), but the actual output is [0, 0].