Commit Graph

142 Commits

Author SHA1 Message Date
DreamPiggy 6693ecb35a Added the test case `testEncodingGrayscaleImage` about grayscale 2021-02-01 21:07:35 +08:00
DreamPiggy cab8cd977c Fix the issue when WebP Encoding grayscale image with only 1 channel, which cause the wrong encoded WebP image (each column repeats 3 times) 2021-02-01 21:03:38 +08:00
DreamPiggy cdf6ce8216 Bumped version to 0.8.1 2020-12-24 20:47:25 +08:00
DreamPiggy 25f5908fd8
Merge pull request #52 from AaaK00/fix_zero_value_in_webp_options_ignored
Fixed bug that caused WebP parameter value 0 to be ignored
2020-12-24 20:37:19 +08:00
Antti Kortetmaa 415e6b6fc1 Changed methods getFloatValueFor and getIntValueFor as static C methods. 2020-12-24 11:28:04 +02:00
Antti Kortetmaa a197fa1c21 Fixed issue that caused WebP option that has been set to 0 to be ignored 2020-12-23 17:41:43 +02:00
Antti Kortetmaa 76edf76a3c
Merge pull request #2 from SDWebImage/master
Updates from Main branch
2020-12-23 15:38:44 +02:00
DreamPiggy 864a71e8f3 Update README.md 2020-12-14 15:11:35 +08:00
DreamPiggy 8df7931f95 Bumped version to 0.8.0 2020-12-14 15:03:39 +08:00
DreamPiggy 9158e2429f Update the readme about new libwebp codec options 2020-12-14 15:01:11 +08:00
DreamPiggy 2021f7d3b2
Merge pull request #51 from SDWebImage/feature_replace_semaphore_with_os_unfair_lock_and_spinlock
Replace the dispatch semaphore into os_unfair_lock, copied from SDWebImage Core
2020-12-14 14:50:20 +08:00
DreamPiggy ba51befd7c Replace the dispatch semaphore into os_unfair_lock, copied from SDWebImage Core 2020-12-14 11:53:45 +08:00
DreamPiggy 049cc75315
Merge pull request #50 from SDWebImage/code_garden
Update the Xcode Project of WebP encode options
2020-12-14 11:45:19 +08:00
DreamPiggy 19b7465dea Update the Xcode Project of WebP encode options 2020-12-14 11:39:03 +08:00
DreamPiggy 5317375239
Merge pull request #49 from AaaK00/webp-options
Added new encoding options to WebP encoding
2020-12-14 11:25:38 +08:00
Antti Kortetmaa de7ba8d08e Removed updateWebPOptionsToConfig from the public API of SDImageWebPCoder 2020-12-11 12:09:26 +02:00
Antti Kortetmaa e330f22573 Added unit tests for WebP settings. 2020-12-11 12:03:33 +02:00
Antti Kortetmaa 66cfc23f1c Added new encoding options to WebP encoding 2020-12-11 12:03:33 +02:00
Antti Kortetmaa e252beb187
Merge pull request #1 from SDWebImage/master
Update the test cases with new WebP sample URLs
2020-12-11 12:02:58 +02:00
DreamPiggy 779dd7d1c8 Update the test cases with new WebP sample URLs 2020-12-11 17:40:03 +08:00
DreamPiggy 4861ce9799 Update Cartfile to use SDWebImage 5.10+ 2020-11-23 15:54:30 +08:00
DreamPiggy a0bc7407f0 Bumped version to 0.7.0
Update the README
2020-11-23 11:11:44 +08:00
DreamPiggy b70876b797
Merge pull request #48 from SDWebImage/xcode11
Bumped the min deployment target to iOS 9+, Xcode to Xcode 11
2020-11-23 11:08:12 +08:00
DreamPiggy df994df73e Update Example to use iOS 9 2020-11-23 10:36:38 +08:00
DreamPiggy b6419df550 Bumped the min deployment target to iOS 9+, Xcode to Xcode 11
This follows SDWebImage core's changes from v5.10.0
2020-11-22 18:50:16 +08:00
DreamPiggy 84c97db988 Fix the codecov.yaml 2020-04-16 18:33:09 +08:00
DreamPiggy 111f2a88cd Update the readme about thumbnail encoding 2020-04-13 13:28:05 +08:00
DreamPiggy 4e362c59b5 Bumped version to 0.6.1
Update the README
2020-04-13 13:22:30 +08:00
DreamPiggy 20ab7d2b44
Merge pull request #41 from SDWebImage/performance_avoid_copy_progressive_data_and_use_lock
Fix the potential buffer crash issue during progressive animated webp decoding, and avoid extra copy for partial image data
2020-04-13 13:18:50 +08:00
DreamPiggy 75af1fa89c
Merge pull request #42 from SDWebImage/feature_webp_encoding_max_pixel_size
Feature WebP Encoding max pixel size (Thumbnail Encoding)
2020-04-13 11:30:43 +08:00
DreamPiggy 8b935e7927 Update the test case about maxPixelSize 2020-04-13 11:17:17 +08:00
DreamPiggy 56ec346a0c Add the support for maxPixelSize encoding options, which will do a thumbnail encoding (5.7's feature) 2020-04-13 11:09:26 +08:00
DreamPiggy 878d64e3e1 Use lock and copy the NSData before recreate the temp demuxer, avoid the extra copy for most cases, and use lock during the demuxer creation to avoid thread-safe issue 2020-04-13 01:26:00 +08:00
DreamPiggy 92e55d4fd6 Bumped version to 0.6.0
Update the README
2020-04-07 20:59:03 +08:00
DreamPiggy 793fcadd06
Merge pull request #39 from SDWebImage/project_podfile_workspace
Refactory the workspace and test project path
2020-04-07 20:52:00 +08:00
DreamPiggy 9f415e90b0 Fix the test scheme configuration 2020-04-07 20:38:49 +08:00
DreamPiggy 177434945d Refactory the workspace and test project path. Which share the same Podfile for Example and Tests, easy to install and cache friendly 2020-04-07 20:22:25 +08:00
DreamPiggy 26d4fb1a88
Merge pull request #38 from SDWebImage/fix_max_file_size_passes
Update the example and test case for the max file size
2020-04-07 20:20:28 +08:00
DreamPiggy 6c2651bb25 Update the example and test case for the max file size 2020-04-07 20:20:06 +08:00
DreamPiggy e25194e655
Merge pull request #36 from SDWebImage/fix_max_file_size_passes
Fix that the max file size encoding need to increase the passes used by libwebp, we choose to use 6 from cwebp command line
2020-04-07 19:46:38 +08:00
DreamPiggy 6a0f5dc73c Fix that the max file size encoding need to increase the passes used by libwebp, we choose to use 6 from cwebp command line 2020-04-07 19:45:33 +08:00
DreamPiggy ee7665e2b0
Merge pull request #35 from SDWebImage/project_encoding_max_file_size_advanced_api
Upgrade the dependency to SDWebImage 5.7, supports the maxFileSize encoding options, as well as enabling the thread-encoding for speedup
2020-04-07 18:20:22 +08:00
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 eb6e84f855 Fix the codecov upload issue, enable gather code coverage data 2020-01-27 18:47:48 +08:00
DreamPiggy d2286ce492 Removed the un-stable test case to check isProgressive (there are race condition that after setImage, the isProgressive reset to NO) 2020-01-27 18:08:12 +08:00
DreamPiggy dbfa17dae2 Add CodeCov report, renaming the Tests folder 2020-01-27 17:42:39 +08:00
DreamPiggy bf48c6c9aa Fix the test case because of cache 2020-01-27 17:02:53 +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