• Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A fast Swift library for decoding images (including the usual formats + RAW files) + EXIF metadata.

Carpaccio icon

Carpaccio SPM build & test passes Swift Package Manager compatible

Pure Swift goodness for RAW and other image + metadata handling

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).

  • thumbnails
  • metadata
  • full sized image

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).

INSTALLATION

Swift Package Manager

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...

USAGE

For usage examples, consult the unit tests under Tests/CarpaccioTests.

TODO

Carpaccio is still a very fresh and raw (har har) library and there are many tasks to make this a more generally useful library.

  • Add tests for RAWs from a number of different camera vendors.
  • GitHub action CI support.
  • iOS support.
  • Working xcframework support (when Xcode / SPM toolchain permits?) An xcframework build is already made available, but at least with Xcode 12.5.1 this results in build fails of the following kinds:
    • 'where' clause cannot be applied to a non-generic top-level declaration
    • 'Iterator' is not a member type of type 'Self'
    • 'Iterator' is not a member type of type 'Self'
    • Covariant 'Self' can only appear as the type of a property, subscript or method result; did you mean 'Collection'?
    • 'Index' is not a member type of class 'Carpaccio.Collection'

More Repositories

1

boostoniphone

Fork of https://gitorious.org/boostoniphone that builds boost 1.48 using Clang from the iOS5 SDK.
C++
44
star
2

SCEvents

A GCD and ARC Enabled Fork of Stuart Connolly's SCEvents Objective-C wrapper for Mac OS X's FSEvents C API.
Objective-C
32
star
3

node-cocoscii

Node.js version of https://github.com/mrspeaker/cocoscii
JavaScript
31
star
4

ASCIImage-Super-Studio

An OSX based editor for for ASCIImage files ( read more about ASCIImage at http://cocoamine.net/blog/2015/03/20/replacing-photoshop-with-nsstring )
Objective-C
22
star
5

MPGestures

Fork of https://github.com/fe9lix/DollarP_ObjC ported to OSX, with a supervised learning layer to improve gesture detection accuracy and backed by a crowdsourcable database of gestures
C++
21
star
6

imotifs

Intuitive biological sequence motif viewer/analysis environment for OS X
Objective-C
9
star
7

peer

A factor analysis package
C++
9
star
8

BookmarkStorage

Swift API for dealing with security scoped bookmark data.
Swift
6
star
9

Perception

High level framework for computer vision for OSX.
C++
3
star
10

kiva

An iPad / iPhone app for kiva.org
3
star
11

bookmark-storage

A pure Swift API for dealing with security scoped bookmark data.
Swift
3
star
12

Genomes

A genome browser for the rest of us.
JavaScript
3
star
13

nmica-extra

Sequence motif analysis utilities designed to work well with the NestedMICA suite
Java
2
star
14

stamp2

Second generation of the STAMP DNA motif comparison toolkit
2
star
15

Syncpoint-API

The command and config API suite for Syncpoint, mix of browser, server, and database JavaScript
JavaScript
2
star
16

MPMailingListService

Mailchimp based mailing list signup service code for Cocoa.
Swift
2
star
17

Biomartify

A Cocoa based Biomart querying frontend
Objective-C
2
star
18

mxplor

A Java / QT based sequence motif viewer / editor (out of which iMotifs was born)
Java
1
star
19

ngseq-toolbox

Utilities for analysing next generation sequencing data -- ChIP-seq for now
1
star
20

cocoatutorial

Material for a Cocoa tutorial for beginners
1
star
21

livebook-indicator

A Linux (GTK, Rust) based app indicator for livebook
Rust
1
star
22

cocoa-configurations

Fork of https://bitbucket.org/kluivers/cocoa-configurations
Objective-C
1
star
23

BodyLanguage

Gesture Recognition Toolkit (https://github.com/nickgillian/grt) bindings for Cocoa
C++
1
star
24

r-utilities

A collection of R packages: args (command-line argument parsing), xms (XMS file format parsing), nmica (NestedMICA integration)
1
star
25

potd

An educational / public engagement app for the RCSB PDB Database
Objective-C
1
star
26

MPRateLimiter

A synchronous rate limiter for Swift: makes the current thread wait (as opposed to dispatching in the future after throttling rate limit has passed).
Swift
1
star