-
…utput last_y to zero, which means current image data is not enough to decode first stride
-
…w+WebCache. Add a more common macro to do current queue check
-
* Refactor code. Move the C global function to a new SDWebImageCoderHelper class. 1. Create two method for animated image parse. Provide the way to allow animates on macOS 2. Create a new class called SDWebImageFrame to allow abstract usage for animated image 3. Fix EXIF orientation method will crash on iOS 7 because it’s a iOS 8 above API * Change sd_imageLoopCount to retrieve GIF loop count for NSImage on macOS * Adopt the refactor code, change our build-in coder with that coder helper method to reduce complexity * Update the demo project on macOS to show animated WebP
-
…image, ftyphevc & ftyphevx is for sequence image
-
… supported natively in iOS 11 & macOS 10.13
-
Because we don't break when we find the 1st coder that can decode progressively, we will always rewrite the `progressiveCoder ` with an `SDWebImageIOCoder` instance
-
* Creating FLAnimatedImage in global queue to improve displaying gif performance * Added `context` dictionary param to `sd_internalSetImageWithURL` that allows sending context options. For now, one can pass `SDWebImageInternalSetImageInGlobalQueueKey` with true value so the `setImage` op is executed on a global queue.
-
…nal image data pointer
-
Cached image filename are sometimes generated with invalid path extensions
-
Fix #1941 by placing a lock to avoid multi-thread issue for SDWebImageCombinedOperation cancelBlock
-
Add the animated GIF encoding support for SDWebImageGIFCoder on macOS(use NSImage's API)
-
…itecture (macOS and iPhone simulator). It kept the previous decoded partial bitmap and will cause current image looks strange.
-
Allow user to provide reading options such as mapped file to improve performance in SDImageCache disk cache
-
…s will not affect FLAnimatedImageView which just create the first frame. 1. Change default coders to [IOCoder, WebPCoder] 2. Add back our previous GIF decoding code, with loop count support 3. Add GIF encoding code for animation 4. Modify IOCoder for GIF format because FLAnimatedImageView need just use the first frame
-
- open the decoding/encoding procedures to the users - switch from hardcoded decoding/encoding to pluginable decoders/encoders (builtin + user created) - `SDWebImageCodersManager` is a singleton holding an array of `SDImageCoder` (protocol). Even though a singleton is not necesarily a good pattern, in this case it eliminates dealing with passing this array around - uses a priority queue behind scenes, which means the latest added coders have priority. - the priority is crucial when encoding/decoding something, we go through the list and ask each coder if they can handle the current data (see `canDecodeFromData:`, `canEncodeToFormat:`, `canIncrementallyDecodeFromData:`) - each coder must conform to this protocol `SDImageCoder` describing all the required behavior for a coder - we provide 3 built-in coders: `SDWebImageImageIOCoder` (for JPEG, PNG, TIFF), `SDWebImageGIFCoder` (for GIF), `SDWebImageWebPCoder` (for WebP and animated WebP) - the user of SDWebImage can create custom coders by conforming to `SDImageCoder` and adding the coders to `SDWebImageCodersManager`. See `addCoder:` or `removeCoder:` or `coders` getter to get the array - in order to preserve backwards compatibility, the UIImage categories were preserved, calling the new coders APIs described above
-
… in SDImageCache disk cache
-
Change finished check from equal to equal or greater than to protect …
-
Fix SDWebImage v4 can not import libwebp framework's header files.
-
Fix FLAnimatedImageView mixed local and global import
-
…se and SDWebImageRefreshCached without hack code
-
Use CGImageSourceCreateIncremental to perform progressive decoding in…
-
…code partial data each time from the beginning to improve performance and remove that gray background
-
1. Change the code to not decode WebP images created in SD because it has been decoded 2. Add @autoreleasepool for animated WebP decoding do-while loop to reduce memory peak
-
Fix SDWebImageDownloadOperation imageData multi-thread issue.