github SDWebImage/SDWebImage 5.16.0
5.16.0 - Limit Bytes && Frame Pool

latest releases: 5.19.3, 5.19.2, 5.19.2-alpha...
12 months ago

See all tickets marked for the 5.16.0 release

Features

Animated Image

  • Performance: Introduce frame pool for SDAnimatedImage playback. Solve when multiple image view references the same URL image cause un-wanted decode which waste RAM/CPU #3524
    • Note this currently does not expose the frame pool API. Fire issue if you're facing issues about this change.

Decoder

  • Introduce the automatically calculation of thumbnail (include animated/static image) using SDImageCoderDecodeScaleDownLimitBytes #3537
    • This calculation of the UIKit-based animated image frame count as well (only UIAnimatedImage, not SDAnimatedImage, because SDAnimatedImage manage frames dynamically). Fire issue if you're facing issues about this change.
    • The .scaleDownLargeImages implementation has switched to use this instead of .thumbnailPixelSize (5.5.0 - 5.16.0)
    • Note this introduce new API and need Coder Plugin update (like WebP/AVIF)

Documentations

  • Update some comments to allows SwiftDocC generate better page #3547

Don't miss a new SDWebImage release

NewReleases is sending notifications on new releases.