Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

DFImageManager 0.7.1

Compare
Choose a tag to compare
@kean kean released this 04 Sep 16:06
· 126 commits to master since this release

Overview

DFImageManager 0.7.1 focuses on stability and performance. The main changes were made to the image processing. Images are now decompressed and scaled in a single step (x2-4 times faster depending on scale, significantly reduces memory usage) which allows DFImageManager to scale large images (~6000x4000 px) and prepare them for display with ease.

Changes

Major

  • #64 Image decompression and scaling are now made in a single step (x2-4 times faster depending on scale, significantly reduces memory usage)

Minor

  • #70 Always draw decompressed images using kCGImageAlphaPremultipliedFirst and CGColorSpaceCreateDeviceRGB
  • #67 Refactor task queue in DFURLImageFetcher; Delay only execution of session tasks, not cancellation
  • #66 DFPhotosKitImageFetcher remove obsolete targetSize and contentMode checks in isRequestCacheEquivalent:toRequest method
  • #65 Remove excessive -[DFAnimatedImage initWithAnimatedGIFData:] method; make animatedImage property nonnull
  • #63 Remove unused methods from UIImage+DFImageUtilities
  • #60 Make DFImageManager/Core subspec smaller by moving non-core classes to DFImageManager/Extensions subspec.
  • Remove excessive DFImageViewDelegate
  • Remove excessive imageTargetSize, imageContentMode and imageRequestOptions properties from DFImageView
  • Remove excessive -[DFURLImageFetcherDelegate URLImageFetcher:didEncounterError:] method

Bugfix

  • #71 BUGFIX: DFImageManagerImageLoader sometimes fails to cancel fetch operations
  • #69 BUGFIX: Fix -[DFImageManager invalidateAndCancel]
  • #68 BUGFIX: Add optional -[DFImageFetching invalidate] method that would allow DFURLImageFetcher and DFAFImageFetcher to invalidate NSURLSession and release delegate
  • #62 BUGFIX: Fix GIF cost calculation in DFImageCache
  • BUGFIX: Fix DFImageView priority management