https://github.com/wangrunji0408/image-thumbnailer
A Swift library for extracting thumbnails from images.
https://github.com/wangrunji0408/image-thumbnailer
heif swift thumbnail
Last synced: about 2 months ago
JSON representation
A Swift library for extracting thumbnails from images.
- Host: GitHub
- URL: https://github.com/wangrunji0408/image-thumbnailer
- Owner: wangrunji0408
- License: mit
- Created: 2025-06-14T08:18:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-07-26T11:04:21.000Z (2 months ago)
- Last Synced: 2025-08-04T01:11:22.920Z (2 months ago)
- Topics: heif, swift, thumbnail
- Language: Swift
- Homepage:
- Size: 5.74 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImageThumbnailer
A fast and efficient Swift library for extracting thumbnails from various image formats including HEIF, JPEG, and Sony ARW files.
## Installation
### Swift Package Manager
Add this to your `Package.swift`:
```swift
dependencies: [
.package(url: "https://github.com/wangrunji0408/image-thumbnailer", from: "1.0.0")
]
```## Usage
### Library Usage
```swift
import ImageThumbnailer// Create a read function for your image file
let readAt: (UInt64, UInt32) async throws -> Data = { offset, length in
// Your file reading implementation
return fileData.subdata(in: Int(offset)..