Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Packaging Filters as Image Units

An image unit represents the plug-in architecture for Core Image filters. Image units use the NSBundle class as the packaging mechanism to allow you to make the filters that you create available to other applications. An image unit can contain filters that are executable or nonexecutable. (See “Executable and Nonexecutable Filters” for details.)

To create an image unit from a custom filter, you must perform the following tasks:

  1. Write the filter by following the instructions in “Creating a Custom Filter.”

  2. “Create an Image Unit Project in Xcode.”

  3. “Add Your Filter Files to the Project.”

  4. “Customize the Load Method.”

  5. “Modify the Description Property List.”

  6. “Build and Test the Image Unit”

After reading this chapter, you may also want to read Image Unit Tutorial for in-depth information on writing kernels and creating image units.



< Previous PageNext Page > Hide TOC


Last updated: 2008-06-09




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice