Commit Graph

181 Commits

Author SHA1 Message Date
DreamPiggy 9348ad305b Bumped version to 0.12.0 2023-06-14 21:19:40 +08:00
DreamPiggy f4c09076d1
Merge pull request #75 from SDWebImage/feat/limit_bytes
Added the support for 5.16.0+ limit bytes feature from SDWebImage Coder Plugin API
2023-06-14 21:11:54 +08:00
DreamPiggy 1d982f6c75 Fix the CI action and test cases 2023-06-14 20:45:14 +08:00
DreamPiggy ba6fae4d7d Bump the dependency to 5.16.0+ 2023-06-14 17:16:26 +08:00
DreamPiggy 99064f973c Added the support for 5.15.0+ limit bytes feature from SDWebImage Coder Plugin API 2023-06-14 17:13:59 +08:00
DreamPiggy 7087a82a3d Bumped version to 0.11.0 2023-03-16 21:23:44 +08:00
DreamPiggy 3df53551db Added GitHub actions 2023-03-16 21:23:11 +08:00
DreamPiggy 9082448d5d
Merge pull request #73 from SDWebImage/perf/awebp_thumbnail_allocation
Reduce memory usage peak when using thumbnail animated WebP decoding and encoding
2023-03-16 14:53:14 +08:00
DreamPiggy 9dae8d36b9 Refactory thumbnail decoding, use a transformed CGContext instead of full context and re-scale after decode finished
This can help to avoid memory allocation

For encoding, avoid using vImageConvert_AnyToAny and just use it convenience method instead
2023-03-09 13:42:14 +08:00
DreamPiggy c779312836 Use kvImageNoAllocate to avoid extra allocate for vImageBuffer when WebP encoding 2023-03-08 14:40:44 +08:00
DreamPiggy 0b25f9ae03 Support using CoreGraphics to produce scaled down CGImage directly 2023-03-08 14:37:20 +08:00
DreamPiggy e6cd1a9d2c Bumped version to 0.10.1 2023-02-06 22:11:14 +08:00
DreamPiggy e3c34ac58b
Merge pull request #71 from SDWebImage/perf/avoid_unused_copy
Avoid unused extra copy of MutableData
2023-02-06 22:09:50 +08:00
DreamPiggy f21f014410 Avoid unused extra copy of MutableData 2023-02-06 22:07:53 +08:00
DreamPiggy c25a1d2c1b Fix dependency 2023-01-17 17:38:40 +08:00
DreamPiggy d72efcfcb4 Bumped version to 0.10.0 2023-01-17 17:36:39 +08:00
DreamPiggy 5864b77d88
Merge pull request #70 from SDWebImage/feat/encode_with_frames
Adopt 5.15.0's encodedDataWithFrames API
2023-01-17 17:33:48 +08:00
DreamPiggy b0a717871b Update the test case because upstream changes 2023-01-17 17:32:02 +08:00
DreamPiggy 3af65409f2 Adopt 5.15.0's encodedDataWithFrames API 2023-01-17 17:30:35 +08:00
DreamPiggy 4416805045 Bumped version to 0.9.1 2022-09-09 18:51:54 +08:00
DreamPiggy fd36fad3c6
Merge pull request #68 from SDWebImage/bugfix/thread_safe_incremental
Fix the thread safe issue for accessing array with index, which may happend during incremental decoding
2022-09-09 18:51:09 +08:00
DreamPiggy 3775b895fb Fix the thread safe issue for accessing array with index, which may happend during incremental decoding 2022-09-09 18:47:58 +08:00
DreamPiggy 8a0c5e1ae0 Bumped version to 0.9.0 2022-07-03 18:19:26 +08:00
DreamPiggy c3797b9992
Merge pull request #65 from SDWebImage/fix_encode_maxPixelSize_5_13
Fix the encoding maxPixelSize logic using 5.13.0 API
2022-07-03 17:56:03 +08:00
DreamPiggy 52b24f60a3 Fix the encoding maxPixelSize logic
using the new calculation from SDWebImage Core
2022-06-22 17:51:33 +08:00
DreamPiggy 18834cac00 Bumped version to 0.8.5 2022-06-22 17:05:26 +08:00
DreamPiggy 2a6c8fac7d
Merge pull request #66 from SDWebImage/fix_encode_maxPixelSize
Fix the encoding maxPixelSize logic (patch)
2022-06-22 17:03:13 +08:00
DreamPiggy eefd749a1f Fix the encoding maxPixelSize logic (patch) 2022-06-22 17:00:21 +08:00
DreamPiggy 87551c267a
Remove the unused define
Code typo fix
2021-07-31 21:41:38 +08:00
DreamPiggy 95a6838df1 Bumped version to 0.8.4 2021-05-06 16:33:43 +08:00
DreamPiggy 3a7ac0f1e3
Merge pull request #57 from daltonclaybrook/carthage_framework_search_paths_fix
Update framework search paths to find XCFrameworks
2021-05-06 16:30:00 +08:00
Dalton Claybrook 0d018b5601 Add frameworks search path for build folder root (to find XCFrameworks) 2021-05-05 22:09:16 -04:00
DreamPiggy a1ea3c7176 Bumped version to 0.8.3 2021-02-24 20:41:50 +08:00
DreamPiggy 9d3c8fdc20
Merge pull request #54 from SDWebImage/bugfix_encoding_leak
Fix the encoding leak when input CGImage is not RGBA8888 or RGB888
2021-02-24 20:40:31 +08:00
DreamPiggy 44b1aae3c9 Fix the encoding leak when input CGImage is not RGBA8888 or RGB888 2021-02-24 20:17:13 +08:00
DreamPiggy 7d68eded0c Bumped version to 0.8.2 2021-02-02 15:52:23 +08:00
DreamPiggy 2460818eab
Merge pull request #53 from SDWebImage/bugfix_grayscale
Fix the issue when WebP Encoding grayscale image with only 1 channel
2021-02-02 15:47:08 +08:00
DreamPiggy 1903ac20f3 Fix again for CMYK image 2021-02-01 21:35:49 +08:00
DreamPiggy 777065d638 Fix the similiar case when input image is CMYK image, check color space model as well :) 2021-02-01 21:19:52 +08:00
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