Commit Graph

102 Commits

Author SHA1 Message Date
DreamPiggy a62950d23f Upgrade the dependency to SDWebImage 5.7, supports the maxFileSize encoding options, as well as enabling the thread-encoding for speedup 2020-04-07 16:59:59 +08:00
DreamPiggy 681023124b Bumped version to 0.5.0 2020-01-18 20:19:28 +08:00
DreamPiggy 8a0bd42053 For progressive animated image poster, the sd_imageFormat should be set 2020-01-18 19:45:36 +08:00
DreamPiggy 3f847ba6dc Fix the issue that progressive image which show first poster image, the decode image size is wrong. Should always create CGContext for animated image 2020-01-18 19:42:35 +08:00
DreamPiggy b6f4692439 Supports the UIImageView to show Prorgessive Animated Image's first poster frame, match the behavior of built-in coders 2020-01-18 18:43:56 +08:00
DreamPiggy 602184ee66 Using the WebPDemux API to support progressive animated WebP. This is less performance but at least works 2020-01-18 18:36:27 +08:00
DreamPiggy 9f66a66f88 Bumped version to 0.4.1 2020-01-18 18:33:56 +08:00
DreamPiggy 0cc073a435 Fix the issue that thumbnail decoding does not works for progressive webp image 2020-01-18 18:21:45 +08:00
DreamPiggy e58c901a1c Bumped version to 0.4.0 2020-01-18 12:52:21 +08:00
DreamPiggy 6726339690 Re-implements the animated webp's thumbnail decoding, now looks better 2020-01-18 01:15:12 +08:00
DreamPiggy f6ff82be42 The Animated WebP should not use the scaled canvas size, which will cause the draw frame contains Jagged and buggy. Instead, use the full pixels canvas to draw, scale down each frame after drawn (sadlly) 2020-01-18 00:41:38 +08:00
DreamPiggy 72d1968d42 Fix the animated canvas again, this time should work 2020-01-17 18:11:11 +08:00
DreamPiggy 50136be56b Fix the issue that animated image (which use a canvas) should also scale the canvas size 2020-01-17 16:12:27 +08:00
DreamPiggy 9db3358eb0 WebPCoder now supports the thumbnail decoding 2020-01-16 22:12:43 +08:00
DreamPiggy a936bdb6d1 Bumped version to 0.3.1 2020-01-07 18:51:12 +08:00
DreamPiggy 6e88c64f4f Fix the issue when WebP is static webp, the `SDAnimatedImageCoder` protocol implementation still create CGContext, this can reduce RAM usage 2020-01-07 14:54:33 +08:00
DreamPiggy 9319f8714b Bumped version to 0.3.0 2019-12-27 14:49:25 +08:00
DreamPiggy 9cd65354eb Support SwiftPM 2019-12-27 11:58:24 +08:00
DreamPiggy df820a080d Bumped version to 0.2.5 2019-10-02 17:09:39 +08:00
DreamPiggy 177343a714 Fix the warning of deprecated API `CGColorSpaceCreateWithICCProfile` 2019-10-02 17:04:50 +08:00
DreamPiggy d53b482d80 Bumped version to 0.2.4 2019-09-12 17:51:52 +08:00
DreamPiggy 3e3b7e30b1 Recheck the animated canvas calculation logic, fix the issue of that calculation 2019-09-12 17:39:53 +08:00
DreamPiggy 0bd6185484 Fix the Animated WebP coder the frame blend index calculation issue, the end condition should be only `endIndex` to match the behavior. 2019-09-12 11:36:20 +08:00
DreamPiggy 7fc66ec22f Bumped version to 0.2.3 2019-06-02 16:03:59 +08:00
DreamPiggy b0e4edb1b3 Bumped version to 0.2.2 2019-06-02 11:45:34 +08:00
DreamPiggy fb4b9e743e Using the framework import instead of module import to support project without clang module 2019-06-02 11:44:04 +08:00
Akira 16ef0cf1a7 Use @import 2019-05-21 01:21:19 +09:00
Akira e51a2187ba Import UIKit. 2019-05-20 00:36:35 +09:00
DreamPiggy b5506c10ba Bumped version to 0.2.1 2019-05-15 13:16:02 +08:00
DreamPiggy c18c2c8757 Fix the logic for Animated WebP images which contains a subsequence blend from the first frame, impact the `SDAnimatedImage` 2019-05-14 20:50:17 +08:00
DreamPiggy e5c9608ed6 Bumped version to 0.2.0 2019-04-02 22:28:28 +08:00
DreamPiggy f526d88969 Update color space filter comment when create icc profile color space 2019-04-01 21:18:15 +08:00
DreamPiggy d53056bfaa Bumped version to 0.1.5 2019-02-26 17:54:31 +08:00
DreamPiggy 1316f5b340 Fix the issue when WebP contains the ICC Profile with colorSpace other than RGB, which cause the CGImageCreate failed 2019-02-26 13:26:47 +08:00
DreamPiggy 4b256c033f Bumped version to 0.1.4 2019-02-21 20:46:37 +08:00
DreamPiggy 6f71fb09b4 Fix small typos 2019-02-21 20:45:40 +08:00
DreamPiggy 92cb639713 Fix that WebP with custom ICC Profile will randomly crash, because `CGColorSpaceCreateWithICCProfile` does not copy the ICC data pointer, previous code cause a use-after-free issue 2019-02-16 16:06:24 +08:00
DreamPiggy b4b3504274 Bumped version to 0.1.3 2019-02-02 11:41:30 +08:00
DreamPiggy 4c103dd5ef
Merge pull request #11 from SDWebImage/bugfix_umbrella_headers
Fix the umbrella headers and modulemap for CocoaPods
2019-02-02 11:39:45 +08:00
DreamPiggy 77f602f94e Fix the umbrella headers and modulemap for CocoaPods 2019-02-02 11:38:05 +08:00
DreamPiggy e54b276e57 Remove unnecessary CGImage check when encode first frame because UIAnimatedImage.CGImage return the first frame's CGImage 2019-02-02 11:34:11 +08:00
DreamPiggy 8ab4c5cd14 Update the README. Bumped version to 0.1.2 2019-01-28 17:31:20 +08:00
DreamPiggy dbcd5b27d0 Fix the issue when provide a `UIAnimatedImage` and encode it into a static WebP failed. Add a backup check of image.images 2019-01-28 14:50:34 +08:00
DreamPiggy cf7981a3b4 Fix one leak of vImageConvertor 2019-01-27 21:02:18 +08:00
DreamPiggy 02595bc1d4 Fix the Animated WebP render logic used by SDAnimatedImageView. The current code do extra cost. Refactor it with more simple logic. 2019-01-27 15:04:11 +08:00
DreamPiggy 3f256df8c5 Update the CocoaPods && Carthage dependency to upstream SDWebImage 5.0.0-beta4. Bumped version to 0.1.1 2019-01-26 18:35:21 +08:00
DreamPiggy 3e0e45d313 Fix the potential leak of chunk iterator used for ICC Profile colorSpace check 2019-01-22 15:17:02 +08:00
DreamPiggy 5b8045f028 Fix that WebP image with ICC Profile does not show color correctly, should use the profile colorspace instead of device colorspace 2019-01-11 18:28:59 +08:00
DreamPiggy f7f0e0a16a Remove the extra SD_WEBP macro define. Since now we move to a dedicated repo 2018-09-17 20:43:32 +08:00
Bogdan Poplauschi e83f42e7ad Added tests from the main project + Travis CI trigger 2018-09-05 12:47:13 +03:00
Bogdan Poplauschi 2e9be698a9 Fixing build - need to support all CocoaPods + Carthage imports, and apparently the previous format did not work properly, even though the result of has_include is correct, the compiler still sees the libwebp reference, so changed the order 2018-08-29 15:22:53 +03:00
Bogdan Poplauschi 27d6b50c98 Renamed project to `SDWebImageWebPCoder` - it matches the format for the other repos and, as a workaround:
- `SDWebImageWebPCoder.h` and `SDImageWebPCoder.h` can co-exist
2018-08-29 14:50:53 +03:00