📈 GH Trending Explorer 🎲 Surprise me

← all repos

SDWebImage / SDWebImage

git clone https://github.com/SDWebImage/SDWebImage.git 5.21.7 · 7mo ago 🔥 on GitHub Trending today

Objective-C library for asynchronously downloading and caching images, with UIImageView, UIButton, and MKAnnotationView categories.

Why you might care

Use it on iOS, macOS, watchOS, or visionOS to load remote images with memory and disk caching, background decoding, and progressive/animated image support. It adds pluggable image coders (WebP, HEIF, JPEG-XL) and transformations, and guarantees duplicate URLs aren't re-downloaded and bogus URLs aren't retried endlessly.

Categories

Alternatives

KingfisherNukeGlideAlamofireImagePINRemoteImage
+-2
stars, 24h · #61,773
+5
stars, 7 days · #17,326
+12
stars, 30 days · #26,779
26k
★ total · +0% this week
6.0k
forks · 126 open issues

Star history (as recorded here)

2026-10-20 · 25,611 ★ 2026-10-23 · 25,611 ★
LanguageObjective-C
LicenseMIT
Created2009-09-21 (17y ago)
Last push6mo ago
Watchers776
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-23 — #2 daily in objective-c · +3 ★
  • 2026-10-23 — #10 monthly in objective-c · +12 ★
  • 2026-10-23 — #10 weekly in objective-c · +5 ★
  • 2026-10-22 — #9 daily in objective-c · +1 ★
  • 2026-10-22 — #9 monthly in objective-c · +10 ★
  • 2026-10-22 — #9 weekly in objective-c · +4 ★
  • 2026-10-21 — #8 daily in objective-c
  • 2026-10-21 — #6 monthly in objective-c · +9 ★
  • 2026-10-21 — #12 weekly in objective-c · +3 ★
  • 2026-10-20 — #8 daily in objective-c · +1 ★
  • 2026-10-20 — #6 monthly in objective-c · +9 ★
  • 2026-10-20 — #12 weekly in objective-c · +4 ★

GitHub topics

Links

README excerpt
This library provides an async image downloader with cache support. For convenience, we added categories for UI elements like `UIImageView`, `UIButton`, `MKAnnotationView`.
> 💡NOTE: `SD` is the prefix for **Simple Design** (which is the team name in Daily Motion company from the author Olivier Poitrey)
## Features
- [x] Categories for `UIImageView`, `UIButton`, `MKAnnotationView` adding web image and cache management
- [x] An asynchronous image downloader
- [x] An asynchronous memory + disk image caching with automatic cache expiration handling
- [x] A background image decompression to avoid frame rate drop
- [x] Progressive image loading (including animated image, like GIF showing in Web browser)
- [x] Thumbnail image decoding to save CPU && Memory for large images
- [x] Extendable image coder to support massive image format, like WebP
- [x] Full-stack solution for animated images which keep a balance between CPU && Memory
- [x] Customizable and composable transformations can be applied to the images right after download
- [x] Customizable and multiple caches system
- [x] Customizable and multiple loaders system to expand the capabilities, like Photos Library
- [x] Image loading indicators
- [x] Image loading transition animation
- [x] A guarantee that the same URL won't be downloaded several times
- [x] A guarantee that bogus URLs won't be retried again and again
- [x] A guarantee that main thread will never be blocked
- [x] Modern Objective-C and better Swift support 
- [x] Performances!
## For Apple visionOS
From 5.19+, SDWebImage supports visionOS on all Package Managers (include CocoaPods/Carthage/SPM). Upgrade the related tools if you're facing issues.
For 5.18+, SDWebImage can be compiled for visionOS platform. However, it's still in beta and may contains issues unlike the stable iOS UIKit support. Welcome to have a try and report issue.
To build on visionOS, currently we only support the standard Xcode integration.
See `Installation with Swift Package Manager` and `Manual Installation Guide` below.
## Supported Image Formats
- Image formats supported by Apple system (JPEG, PNG, TIFF, BMP, ...), including GIF/APNG animated image
- HEIC format from iOS 11/macOS 10.13, including animated HEIC from iOS 13/macOS 10.15 via SDWebImageHEICCoder. For lower firmware, use coder plugin SDWebImageHEIFCoder
- WebP format from iOS 14/macOS 11.0 via SDWebImageAWebPCoder. For lower firmware, use coder plugin SDWebImageWebPCoder
- JPEG-XL format from iOS 17/macOS 14.0 built-in. For lower firmware, use coder plugin SDWebImageJPEGXLCoder
- Support extendable coder plugins for new image formats like BPG, AVIF. And vector format like PDF, SVG. See all the list in Image coder plugin List
> 💡NOTE: For new user
SDWebImage use Coder Plugin System to support both Apple's built-in and external image format. For static image we always use Apple's built-in as fallback, but not for animated image. Currently (updated to 5.19.x version) we only register traditional anim

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.