Commit Graph

2711 Commits

Author SHA1 Message Date
DreamPiggy 767ea25525 Revert the example to use thumbnail 2020-01-10 19:44:35 +08:00
DreamPiggy d29dfda82a Update the Example to use thumbnail decoding 2020-01-10 19:30:17 +08:00
DreamPiggy cd1ae56f5f Add one test case to ensure the `SDWebImageScaleDownLargeImages` is translated to thumbnail decoding 2020-01-10 19:28:39 +08:00
DreamPiggy 77283f6116 Update the test case, fix the behavior of thumbnail pixel size when aspect ratio is YES. 2020-01-10 18:23:41 +08:00
DreamPiggy fa124b4d11 Enable the force decode test case for macOS as well 2020-01-10 11:55:01 +08:00
DreamPiggy 03e63ede25 Change the default limit bytes 60MB on iOS/tvOS, 90MB on macOS, 30MB on watchOS 2020-01-10 11:54:11 +08:00
DreamPiggy 9e5ef8c0e9 Change all the force decode method to be compatible with macOS. Update the documentation as well 2020-01-10 11:54:11 +08:00
DreamPiggy ec620438b9 Fix the edge case when incrementalDecodedImageWithOptions provide custom scale factor and override the one from init method 2020-01-10 11:54:11 +08:00
DreamPiggy c9dffc64dc Fix the compile issue on macOS. Fix the animated frame force decode issue on macOS 2020-01-10 11:54:11 +08:00
DreamPiggy 6bb8641783 Bridge the exist options `SDWebImageScaleDownLargeImages`, to use the thumbnail decoding instead. Defaults use 60MB limit and thumbnail size is (3966, 3966) 2020-01-10 11:54:11 +08:00
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