Skip to content

riots100/oiiococoa

 
 

Repository files navigation

oiiococoa

Version License Platform (pronunciation guide)

Easily use some OpenImageIO magic in your Cocoa apps.

Features

  • Read image files into NSImage via OpenImageIO.
  • Supported file formats:
    • TIFF
    • JPEG/JFIF
    • OpenEXR
    • PNG
    • HDR/RGBE
    • Targa
    • JPEG-2000
    • DPX
    • Cineon
    • FITS
    • BMP
    • ICO
    • RMan Zfile
    • Softimage PIC
    • DDS
    • SGI
    • Maya IFF
    • PNM/PPM/PGM/PBM
    • Field3d
    • WebP
    • Photoshop PSD
    • Wavefront RLA

Installation

oiiococoa is available through CocoaPods, to install it simply add the following line to your Podfile:

pod 'oiiococoa', :head

Usage

It's pretty simple.

// Get the URL to an image file.
NSURL *file = [[NSBundle mainBundle] URLForResource:@"dlad_1920x1080" withExtension:@"dpx"];

// Load it up.
NSImage *image = [NSImage oiio_initWithContentsOfURL:file];

Authors

Wil Gieseler (wilg)

Greg Cotten (gregcotten)

License

oiiococoa is available under the MIT license.

License details and the licenses for dependencies are included in LICENSE.md.

About

OpenImageIO for Cocoa

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C++ 52.6%
  • Objective-C 30.5%
  • Ruby 12.6%
  • Shell 4.3%