alexiscreuzot / SwiftyGif

High performance GIF engine
MIT License
2k stars 211 forks source link

In the app, GIF quality degraded, but correct in the Google drive with same file(size) #153

Closed jams032 closed 1 year ago

jams032 commented 3 years ago

Hi, first of all, thank you so much for the nice library implementation in iOS. I was using this in my iOS app. Everything works fine except the quality of the GIF.

I downloaded the GIF with the same size from the server, saved it to the app, and display it as well. But the problem is , when it shows in the app, the quality is degraded a lot. Same quality issue found in iMac when I open the GIF.

But fortunately, the google drive file browser shows it the incorrect quality of GIF.

I am thinking it is something with calculateFrameDelay() method in UIImage+SwiftyGif class.

Could you please check it and help somehow?

Screenshot 2021-03-07 at 5 36 34 PM