https://github.com/wangrunji0408/heif-thumbnailer
A Swift library for extracting thumbnails from HEIC images.
https://github.com/wangrunji0408/heif-thumbnailer
heif swift thumbnail
Last synced: 3 months ago
JSON representation
A Swift library for extracting thumbnails from HEIC images.
- Host: GitHub
- URL: https://github.com/wangrunji0408/heif-thumbnailer
- Owner: wangrunji0408
- License: mit
- Created: 2025-06-14T08:18:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-14T08:44:01.000Z (4 months ago)
- Last Synced: 2025-06-14T09:28:26.572Z (4 months ago)
- Topics: heif, swift, thumbnail
- Language: Swift
- Homepage:
- Size: 5.64 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HeifThumbnailer
A fast and efficient Swift library for extracting thumbnails from HEIF images.
## Installation
### Swift Package Manager
Add this to your `Package.swift`:
```swift
dependencies: [
.package(url: "https://github.com/wangrunji0408/heif-thumbnailer", from: "1.0.0")
]
```## Usage
### Library Usage
```swift
import HeifThumbnailer// Create a read function for your HEIC file
let readAt: (UInt64, UInt32) async throws -> Data = { offset, length in
// Your file reading implementation
return fileData.subdata(in: Int(offset)..