Skip to content

5.9.0 - iOS 14 WebP

Compare
Choose a tag to compare
@dreampiggy dreampiggy released this 27 Aug 08:32
· 660 commits to master since this release

Features

Image

  • Supports built-in WebP/AWebP codec from ImageIO for iOS 14/tvOS 14/macOS 11/watchOS 7 #3048
  • To use, add SDImageAWebPCoder to your coders manager. Note built-in WebP currently supports decoding only, for encoding, you still need SDImageWebPCoder
  • Add the support to pass small bytes to decodedAndScaledDownLargeImage, which always scale down (at least 1x1 pixel) but not return the original size #3067

Cache

  • Supports the user to customize the default disk cache directory, which can be used to share cache for App && App Extension #3066

View Category

  • Adjust the current behavior to use transition. Now it automatically do transition when manager callback asynchronously (if user see waiting, then do transition) #3074

Fixes

  • Fix the bug when the thumbnail pixel size is larger than the pixel size, and the image has EXIF orientation, the final UIImage will use wrong image orientation #3070
  • Fix the image format detection for smaller SVG which less than 100 Bytes #3072