Commit Graph

2941 Commits

Author SHA1 Message Date
DreamPiggy c1a5546350 Add the test case about the protect code, though in theory this can not be triggered. Need 87381 pixel width 2020-08-15 18:48:01 +08:00
DreamPiggy a746a3a136 Add a protect when tile rectangle is too small to calculate when using `SDWebImageScaleDownLargeImages` 2020-08-15 18:48:01 +08:00
DreamPiggy b483ec2959
Merge pull request #3070 from dreampiggy/bugfix_exif_thumbnail_pixel_size_large
Fix the bug when the thumbnail pixel size is larger than the pixel size, and the image has EXIF orientation, the final UIImage will use wrong image orientation
2020-08-14 14:19:45 +08:00
DreamPiggy dff33028a0 Added test case about this EXIF orientation and thumbnail decoding fix 2020-08-13 18:26:04 +08:00
DreamPiggy e142610455 Fix the bug when the thumbnail pixel size is larger than the pixel size, and the image has EXIF orientation, the final UIImage will use wrong image orientation 2020-08-13 18:17:28 +08:00
DreamPiggy 09aee5f534
Merge pull request #3066 from dreampiggy/feature_default_cache_path
Supports the user to customize the default disk cache directory, which can be used to share cache for App && App Extension
2020-08-13 10:40:38 +08:00
DreamPiggy 74a3d263c9 Update the comments and fix the coding style 2020-08-12 10:38:45 +08:00
DreamPiggy 5ed134fff6 Update the test case about default cache directory 2020-08-10 16:27:31 +08:00
DreamPiggy 1873b7198f Supports the user to customize the default disk cache directory, which can be used to share cache for App && App Extension 2020-08-10 15:41:07 +08:00
DreamPiggy 40023d5668 Merge branch '5.8.x' of https://github.com/SDWebImage/SDWebImage 2020-07-16 21:38:53 +08:00
DreamPiggy 2f9ef53b99 Bumped version to 5.8.4
update CHANGELOG
2020-07-16 21:33:06 +08:00
kinarobin 0e0cc576da early return when image load canceled 2020-07-16 21:29:23 +08:00
kinarobin 4ed1ce29dc fix race condition when use transition 2020-07-16 21:29:23 +08:00
DreamPiggy 19ca248e93
Merge pull request #3053 from kinarobin/fix-race-condition-when-using-transition
Fix race condition when use transition but canceling an operation
2020-07-16 21:27:51 +08:00
kinarobin 8cde50d03d early return when image load canceled 2020-07-16 20:52:15 +08:00
DreamPiggy 5a34f2d468
Merge pull request #3052 from dreampiggy/fix_imageio_copy_mutable_dictionary_crash
Try to copy the local NSMutableDictionary before calling CGImageSourceCreateImageAtIndex, try to solve the rare crash inside ImageIO call stack.
2020-07-16 20:14:53 +08:00
kinarobin 088b356a1f fix race condition when use transition 2020-07-16 18:02:47 +08:00
DreamPiggy aba80b66c2 Try to copy the local NSMutableDictionary before calling CGImageSourceCreateImageAtIndex, try to solve the rare crash inside ImageIO call stack. 2020-07-16 14:26:51 +08:00
DreamPiggy e7b87885ae
Merge pull request #3048 from dreampiggy/feature_webp_ios14
Supports built-in WebP/AWebP codec from ImageIO for iOS 14/tvOS 14/macOS 11/watchOS 7
2020-07-15 17:58:11 +08:00
DreamPiggy 6fb20ce312 Refactory the implementation of that canDecode/canEncode, use single method with Set to check, instead of creating different internal files 2020-07-06 11:22:53 +08:00
DreamPiggy 53b2420789 Mark the API available for HEIC/AWebP coders, update the example 2020-07-06 10:55:01 +08:00
DreamPiggy d09ff5a654 Fix the SwiftPM support and Static library 2020-07-03 16:37:01 +08:00
DreamPiggy 8dbc0ac7d8 Add the test cases for WebP decoding. iOS 14 seems does not support Web Encoding currently 2020-07-03 15:53:35 +08:00
DreamPiggy 7bfd67a94f Update the Example of WebP coder for iOS/macOS/tvOS/watchOS 2020-07-03 12:55:49 +08:00
DreamPiggy 62a6ab8e71 Update the project settings for WebP coder 2020-07-03 12:55:49 +08:00
DreamPiggy 6eacb15067 Add support for built-in ImageIO WebP codec for iOS 14/tvOS 14/macOS 11/watchOS 7 2020-07-03 12:55:49 +08:00
DreamPiggy f876da5031 Bumped version to 5.8.3
update CHANGELOG
2020-07-02 11:06:08 +08:00
DreamPiggy 8a57e935b8
Merge pull request #3047 from dreampiggy/behavior_sdanimatedimage_encoding_animation
Add the support for that UIImage+MultiFormat methods on SDAnimartedImage, which supports encoding the animation like GIF/APNG/WebP with lower compression quality.
2020-07-02 10:42:54 +08:00
DreamPiggy 04cc6f682c Add the support for that UIImage+MultiFormat methods on SDAnimartedImage, which supports encoding the animation like GIF/APNG/WebP with lower compression quality. 2020-07-01 23:21:02 +08:00
DreamPiggy 4e2a52556c
Merge pull request #3046 from dreampiggy/fix_ios14_vector_image_rendering
Fix the issue of iOS 14 vector image rendering on SDAnimatedImageView
2020-07-01 22:42:52 +08:00
DreamPiggy 221aa2c905 Fix the wrong code use super.respondsToSelector, should use the superClass.instancesRespondToSelector to check super class itself contains the implementation 2020-07-01 19:33:19 +08:00
DreamPiggy 033bb5321f Fix the issue of iOS 14 vector image rendering on SDAnimatedImageView. Should call super method if need for best compatibility 2020-07-01 17:10:32 +08:00
DreamPiggy df8bd89a86 Bumped version to 5.8.2
update CHANGELOG
2020-06-23 21:33:36 +08:00
DreamPiggy 15fb09afa1
Merge pull request #3043 from dreampiggy/fix_ios14_animated_image_static_render
Fix the issue that SDAnimatedImageView can not render static image on iOS 14.
2020-06-23 21:20:56 +08:00
DreamPiggy bb7b1914e6 Fix the issue that SDAnimatedImageView can not render static image on iOS 14.
UIKit some internal behavior changes and we should always update the render layer if we have no `currentFrame`
2020-06-23 16:01:42 +08:00
DreamPiggy 28898e23fa
Merge pull request #3039 from henry2423/master
Fix the `maxPixelSize` logic issue will cause a upscale in SDImageIOAnimatedCoder
2020-06-23 11:13:03 +08:00
Henry Huang 4332c29740 Fix the `maxPixelSize` logic issue will cause a upscale in SDImageIOAnimatedCoder 2020-06-22 16:15:22 +08:00
DreamPiggy fe92b7aa3d Bumped version to 5.8.1
update CHANGELOG
2020-06-12 16:12:34 +08:00
DreamPiggy 6f5f8354fa
Merge pull request #3038 from dreampiggy/bugfix_embed_thumbnail_max_pixel_size
Change to use kCGImageSourceCreateThumbnailFromImageAlways to solve the issue when HEIC/JPEG contains an embed thumbnail but its size is much smaller than provided `maxPixelSize`
2020-06-12 16:04:19 +08:00
DreamPiggy 6a227343a6 Change to use kCGImageSourceCreateThumbnailFromImageAlways to solve the issue when HEIC/JPEG contains an embed thumbnail but its size is much smaller than provided `maxPixelSize` 2020-06-12 11:41:22 +08:00
DreamPiggy f8fa41218d
Merge pull request #3037 from dreampiggy/bugfix_request_modifier_nil
Fix the issue that the NSURLRequest method should not be nil, which may cause Crash
2020-06-12 11:29:32 +08:00
DreamPiggy 2d33fc8e6e Fix the issue that the NSURLRequest method should not be nil. 2020-06-12 11:21:55 +08:00
DreamPiggy 121a18568d
Merge pull request #3030 from PhilipDukhov/master
SDAnimatedImagePlayer seek returning nil image fix
2020-06-11 17:51:40 +08:00
Philip Dukhov 30053c2ac3 animated image seek frame test added 2020-06-11 12:35:36 +07:00
Philip Dukhov 7435113072 seek returning nil image fix 2020-06-02 13:58:53 +07:00
DreamPiggy b0ceb25747
Merge pull request #3027 from dreampiggy/feature_convenient_transition_with_duration
Added the convenient transition with duration APIs
2020-06-02 11:37:30 +08:00
DreamPiggy c9ef6ce541 Added the convenient transition with duration APIs 2020-06-02 10:50:34 +08:00
DreamPiggy 964864f243
Merge pull request #3010 from dreampiggy/travis_catalina
Update the Travis-CI to use Catalina and enable macCatalyst test case
2020-06-01 15:44:43 +08:00
DreamPiggy 16cd77203e Do not clean DerivedData before test, share the common cache 2020-06-01 12:56:07 +08:00
DreamPiggy df4153bdf3 Use New Build System for testing to re-use the compiled cache 2020-06-01 11:38:21 +08:00