Carpaccio is a Swift library for macOS and iOS that allows fast decoding of image data & EXIF metadata from file formats supported by CoreImage (including all the various RAW file formats supported, using the CoreImage RAW decoding capability).
Carpaccio uses multiple CPU cores efficiently in parallel for all of metadata, thumbnail and image data decoding.
There are no 3rd party dependencies (CoreImage filter is used for RAW decoding).
Add Carpaccio to your Swift package as a dependency by adding the following to your Package.swift file in the dependencies array:
.package(url: "https://github.com/mz2/Carpaccio.git", from: "<version>")
If you are using Xcode 11 or newer, you can add Carpaccio by entering the URL to the repository via the File menu:
File > Swift Packages > Add Package Dependency...
For usage examples, consult the unit tests under
Carpaccio is still a very fresh and raw (har har) library and there are many tasks to make this a more generally useful library.
|Last commit: 35 weeks ago|
vImage (from Accelerate), such that a colour space conversion is actually made. Assumption still made of 8-bit channels and presence of an alpha channel, further improvements await.