You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DreamPiggy edited this page Feb 20, 2025
·
30 revisions
Coder Plugin
SDWebImage supports custom image coder plugin. Which can easily extern image format support when using SDWebImage's core feature.
Our core lib, only use the Apple System build-in codec. Which support the common image format, like JPEG/PNG/GIF/BMP/HEIF. But you can use any of your preferred image formats by using the correct image coder plugins.
You can check some public coder plugin here for image format which is not available from SDWebImage's core repo. See Custom Coder for more detailed usage.
If your custom coder add new image format support, which is not listed in SDWebImage built-in define of SDImageFormat, you can define it and update the format code here. To avoid the format code conflict with others. The custom minimum format code should be larger than 10, to keep future reserved format used by SDWebImage core repo.