Skip to content

t089/swift-raw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftRaw

A thin Swift wrapper around LibRaw. Work in progress...

How to use

import SwiftRaw

let raw = try Raw.openFile(path: "my-raw-file.CR2")
try raw.unpack()
try raw.dcrawProcess()
let bitmap = try raw.renderImage()
// do something with bitmap
bitmap.withUnsafeBytes { buf in
    // convert to PNG, render to screen, etc ...
}

About

A Swift wrapper for LibRaw

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published