Commit Graph

2951 Commits

Author SHA1 Message Date
DreamPiggy 19af6b76e6 Add the preserveAspectRatio and thumbnailPixelSize in the context options, update the usage 2020-01-10 11:54:11 +08:00
DreamPiggy ae4aa3f848 Fix the animated image for sd_imageFormat 2020-01-10 11:54:11 +08:00
DreamPiggy 0b0c0d2840 Add the support for animated coder for thumbnail images 2020-01-10 11:54:11 +08:00
DreamPiggy 80c6454495 Add the support for incremental decoding for thumbnail images 2020-01-10 11:54:11 +08:00
DreamPiggy a244962926 Add the thumbnail decoding API for protocols, update the code for ImageIO coders 2020-01-10 11:54:11 +08:00
DreamPiggy e7d8341e8b Fix the documenrtation about the SDAnimatedImage's behavior for static image 2020-01-08 18:58:21 +08:00
DreamPiggy eb6c89ed89 Merge branch '5.4.x' of https://github.com/dreampiggy/SDWebImage 2020-01-07 21:49:27 +08:00
DreamPiggy 5b3909308f Bumped version to 5.4.1
Update the CHANGELOG
2020-01-07 21:45:24 +08:00
DreamPiggy f202ce1519
Merge pull request #2924 from dreampiggy/5.4.x_sdanimatedimage_nil_when_frame_count_one
SDAnimatedImage now only keep the animated coder when frame count >=1 , else we wil behave like UIImage to save RAM usage
2020-01-07 18:57:07 +08:00
DreamPiggy f6d95e3fa0 SDAnimatedImage now only keep the animated coder when frame count >=1, else we wil lbehave like UIImage to save RAM usage 2020-01-07 12:19:17 +08:00
DreamPiggy 0a0dd84b21
Merge pull request #2921 from dreampiggy/fix_ciimage_cg_leak
Fix the leak of CIImage based UIImage for `sd_colorAtPoint`
2020-01-05 14:29:04 +08:00
DreamPiggy 375e94f31c Fix the leak of CIImage based UIImage for `sd_colorAtPoint` 2020-01-04 13:49:20 +08:00
DreamPiggy fafed705d0
Merge pull request #2918 from dreampiggy/feature_transformer_CIImage
Support all transformer method on CIImage based UIImage/NSImage
2020-01-03 20:09:06 +08:00
DreamPiggy b62f48724d Use CIColor method instead of custom implementation 2020-01-03 17:52:17 +08:00
DreamPiggy 86e3a164dc Fix the test case of blur radius calculation. CG and CI now match in visual 2020-01-03 14:45:13 +08:00
DreamPiggy 1afadafc78 Update all transformer test cases to support Core Image 2020-01-03 11:58:12 +08:00
DreamPiggy 3006ff299e Fix the leak of CGImageRef from UIImage (getter only) 2019-12-30 22:41:00 +08:00
DreamPiggy 2163691d11 Fix the compile issue on watchOS 2019-12-30 22:40:06 +08:00
DreamPiggy 40957da785 Fix `sd_blurredImageWithRadius` CGImage implementation bug that does not considerate bitmap other than BGRA 2019-12-30 22:40:06 +08:00
DreamPiggy 0c15223111 Fix CIGaussianBlur cropping rect 2019-12-30 22:40:06 +08:00
DreamPiggy a67ea9d371 Fix the regression of sd_tintedImageWithColor with `CISourceAtopCompositing` filter 2019-12-30 22:40:06 +08:00
DreamPiggy eda7422c82 Fix the issue of sd_croppedImageWithRect (UIKit) and sd_rotatedImageWithAngle for CIImage 2019-12-30 22:40:06 +08:00
DreamPiggy ac19d18d3c Fix compile issue on watchOS, add `sd_tintedImageWithColor` support for CIImage 2019-12-30 22:40:06 +08:00
DreamPiggy 4425c823ad Add CIImage support on transform methods 2019-12-30 22:40:06 +08:00
DreamPiggy cb7c4d5990 Add the compatible method for CIImage on macOS 2019-12-30 22:40:06 +08:00
DreamPiggy 48fe948b8f Fix the bug that watchOS sd_rotatedImageWithAngle does not works 2019-12-30 22:33:54 +08:00
DreamPiggy 8da50c4a8d Merge branch '5.4.x' of https://github.com/SDWebImage/SDWebImage 2019-12-29 11:26:04 +08:00
DreamPiggy 247f74a5d1 Bumped version to 5.4.1
Update the CHANGELOG
2019-12-27 15:05:43 +08:00
DreamPiggy 0b3079d66b Fix the test case compile warning of `SDWebImageTestDiskCache` 2019-12-27 15:02:39 +08:00
DreamPiggy d44a5a331e update the Readme with PDF/SVG/Link plugin repos from SDWebImage organization 2019-12-27 15:02:39 +08:00
DreamPiggy 0d44d70e62 Fix the issue that "There may be no complete callback when download the picture of the local path" 2019-12-27 15:01:30 +08:00
DreamPiggy cc3f8a3ecd
Merge pull request #2915 from dreampiggy/feature_disk_cache_createion_change_date
Support to use the creation date and the change date to determine the disk cache expire date compare
2019-12-26 18:47:04 +08:00
DreamPiggy 751d52bbaf
Merge pull request #2917 from dreampiggy/5.x_fix_local_download_operation_finished_without_callback
Fix the issue that "There may be no complete callback when download the picture of the local path"
2019-12-26 18:11:44 +08:00
DreamPiggy e38388e13f Fix the issue that "There may be no complete callback when download the picture of the local path" 2019-12-26 17:44:09 +08:00
DreamPiggy f041dcabef Support to use the creation date and the change date to determine the disk cache expire date compare 2019-12-26 14:53:53 +08:00
DreamPiggy 69a62ff39d
Merge pull request #2907 from dreampiggy/performance_UIGraphicsImageRenderer
Performance - Using UIGraphicsImageRenderer on iOS 10+, save memory when image bitmap is RGB(-25%) or Grayscale(-75%)
2019-12-23 19:55:05 +08:00
DreamPiggy a7682d58b4 Add the test case testSDGraphicsImageRenderer, update the documentation 2019-12-21 20:15:59 +08:00
DreamPiggy 5cb365ece9 Revert "Replace the background decode core function CGImageCreateDecoded with UIGraphicsRenderer, this one should use the perferred format"
This reverts commit 3929f2cd2a.
2019-12-21 17:20:19 +08:00
DreamPiggy 1ee04f64b0 Update all the documentation of the SDGraphicsImageRenderer, fix small behavior to match Apple's documentation 2019-12-16 17:29:58 +08:00
DreamPiggy 92e3bfcc3e Fix the sd_rotatedImageWithAngle on macOS, which should not apply the counterclockwise reverse 2019-12-16 17:29:58 +08:00
DreamPiggy 3929f2cd2a Replace the background decode core function CGImageCreateDecoded with UIGraphicsRenderer, this one should use the perferred format 2019-12-16 17:29:58 +08:00
DreamPiggy 1e778f0fe6 Refactory the `sd_flippedImageWithHorizontal` with the UIGraphicsRenderer, do not always need ARGB8888 2019-12-16 17:29:58 +08:00
DreamPiggy 48a7b7f943 Fix the issues during refactory, the UIGraphicsRenderer using the point size, not pixel size 2019-12-16 17:29:58 +08:00
DreamPiggy c49bc5c925 Change the implementation of `sd_rotatedImageWithAngle` using the UIGraphicsRenderer, avoid always using ARGB8888 2019-12-16 17:29:58 +08:00
DreamPiggy d5734cd6cd Fix the implementation of SDGraphicsImageRendererFormat, now use the dynamic getter/setter to forward to UIGraphicsImageRendererFormat 2019-12-16 17:29:58 +08:00
DreamPiggy 8fa6c7519c Replace the SDGraphicsBeginImageContextWithOptions with SDGraphicsImageRenderer 2019-12-16 17:29:58 +08:00
DreamPiggy ee0aa220e0 Fix the compile issue on watchOS/macOS 2019-12-16 17:29:58 +08:00
DreamPiggy 6ff83fde6b Added SDGraphicsImageRenderer (which bridge to UIGraphicsImageRenderer on iOS 10+), prepare to replace old CGContext create code 2019-12-16 17:29:58 +08:00
DreamPiggy 0b12058427 Fix the test case compile warning of `SDWebImageTestDiskCache` 2019-12-16 12:44:52 +08:00
DreamPiggy 5cf8ddc6cb update the Readme with PDF/SVG/Link plugin repos from SDWebImage organization 2019-12-13 17:26:20 +08:00