SDWebImageSVGCoder Versions Save

A SVG coder plugin for SDWebImage, using Apple's built-in framework

1.7.0

1 year ago

Fixes

  • Using try-catch for CoreSVG vector image before rendering on screen, protect some crashes for user #44

Note: Some user report that Apple's CoreSVG has compatible issue for some SVGs (like using non-system Font, gradient), from v1.7.0 we protect some cases, but other exceptions are un-catchable. For these crashes, either use Render SVG as bitmap image (see below) or edit your SVG source file to make Apple's CoeSVG compatible.

1.6.1

2 years ago

Fixes

  • Fix preserve aspect bug #37

1.6.0

3 years ago

Features

  • Allow constraining bitmap on one length only (width or height) #28
  • Update the calculation of bitmap image based on more complicated rules for most use cases #29

1.5.2

3 years ago

Fix

  • Make isSVGFormatForData work for small SVG strings #26 Thanks @marcprux

1.5.1

3 years ago

Fix

  • Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to zero, fix the logic to calculate the transform #25

1.5.0

4 years ago

Fix

  • Fix the compatible with SDWebImage 5.6.0 #19

1.4.0

4 years ago

Features

  • Update to support SDWebImage 5.5's new thumbnailPixelSize option #18

Deprecation

Deprecated the current SVG prefixed options:

  • SDWebImageContextSVGPrefersBitmap
  • SDWebImageContextSVGImageSize
  • SDWebImageContextSVGImagePreserveAspectRatio

1.3.0

4 years ago

Project

  • Add the available annoatation to support backward deployment #17

1.2.1

4 years ago

Fixes

  • Fix the compatible issue when using the Static Library (CocoaPods) to install SDWebImage, also keep the module import for framework target

1.2.0

4 years ago

Project

  • Change to hidden the symbols and follows App Store Submit rule #14
  • Add the support for mac Catalyst #15