Commit Graph

2734 Commits

Author SHA1 Message Date
DreamPiggy aa7ff6f060 Bumped version to 5.5.2
Update the CHANGELOG
2020-01-26 20:20:32 +08:00
DreamPiggy 3459cd2fd0
Merge pull request #2934 from dreampiggy/bugfix_max_buffer_size
Fix the issue that `maxBufferSize` property does not correctlly works for `SDAnimatedImageView`
2020-01-26 18:36:06 +08:00
DreamPiggy d565a37529 Fix the issue that `maxBufferSize` property does not correctlly works for `SDAnimatedImageView`, should setup the player's property 2020-01-26 18:05:39 +08:00
DreamPiggy 8c3a90304b
Merge pull request #2933 from ben5516/doc-fix
Fixed docs to show correct arguments for SDInternalCompletionBlock
2020-01-24 10:17:42 +08:00
Ben Govero 25fe6e97f9 Update docs to show correct arguments for SDInternalCompletionBlock 2020-01-23 17:53:14 -06:00
DreamPiggy 443bf50b58 Bumped version to 5.5.1
Update the CHANGELOG
2020-01-18 20:17:05 +08:00
DreamPiggy bfa6314732 Update the readme with progressive loading wiki link 2020-01-18 20:04:06 +08:00
DreamPiggy 7b0941407e
Merge pull request #2931 from dreampiggy/fix_progressive_animation_animatedView_bug
Fix the SDAnimatedImageView's progressive animation bug, which reset the frame index to 0 each time new frames available
2020-01-18 18:54:25 +08:00
DreamPiggy cde0e48a6d Add one progressive animation test case to avoid this regression bug in the future 2020-01-18 16:46:00 +08:00
DreamPiggy bce101d112 The progressive animation should not update the loop count to 1 when automatically stopped at last index. 2020-01-18 15:38:02 +08:00
DreamPiggy 649665e1b0 Fix the SDAnimatedImageView's progressive animation bug, which reset the frame index to 0 each time new frames available 2020-01-18 14:58:52 +08:00
DreamPiggy 966e6c3ee4 Bumped version to 5.5.0
Update the CHANGELOG
2020-01-16 19:22:07 +08:00
DreamPiggy 3ed7d74e09 Update the readme about thumbnail decoding 2020-01-16 19:03:04 +08:00
DreamPiggy 9a18e62184
Merge pull request #2927 from dreampiggy/fix_GaussianBlur_radius_bug
Fix gaussian blur radius bug
2020-01-16 17:43:21 +08:00
DreamPiggy b8b7438ce9 Fix the wrong behavior of current sd_blurredImageWithRadius, which calculate the wrong box size for consolve 2020-01-15 21:35:15 +08:00
DreamPiggy e376dad5f6 Update some wrong code comments 2020-01-15 12:34:57 +08:00
DreamPiggy 7e3482d4fc Fix the issue of `CGImageCreateScaled`, which should use BGRX8888 on non-alpha image, BGRA8888 on alpha image 2020-01-15 11:56:19 +08:00
DreamPiggy 01b23e448c
Merge pull request #2922 from dreampiggy/feature_thumbnail_decoding
Feature thumbnail image decoding
2020-01-15 11:21:47 +08:00
DreamPiggy 7a8407d0be Fix the test case again because of the behavior changes for aspect ratio rect limit 2020-01-13 22:17:19 +08:00
DreamPiggy 150ad1b104 Apply a `Thumbnail-` prefix for the cache key for all the thumbnail images, this can avoid cache issue when you query the same URL with different thumbnail size 2020-01-10 23:35:43 +08:00
DreamPiggy f376b5da9a Fix the behavior of limit width and height for thumbnail pixel size, should not be greater than the size 2020-01-10 23:34:55 +08:00
DreamPiggy 72250f2182 Fix the test case again 2020-01-10 22:33:05 +08:00
DreamPiggy 2e629f6c46 Fix the issue that preserveAspectRatio default value, now it's YES 2020-01-10 19:46:37 +08:00
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