Writing plugins and image filters for Acorn
Download sample code and header files:
SampleAcornPlugins.zip∞
Acorn provides a plugin interface for developers, in both Objective-C and Python (using the
PyObjC bridge). Acorn also uses any Core Image Units that are installed on the computer, which is also an option if you want to provide filtering services to Acorn.
Documentation - find out what extra goodies Acorn provides for you besides the power of Cocoa
AcornXcodeTemplate - How to install the Acorn Xcode project template, and setup your project for easy debugging.
Acorn's File Format - Information on the .acorn file format, including sample code.
Examples:
- Add a black border, an example Python plugin.
- New grayscale image with round corners, an example Python plugin that takes your current image and gives it an old-school photo look.
- New faded image with round corners, a variation of the new grayscale image plugin.
- CI Brightness filter, an example of writing a Core Image Unit in Python.
- Convert the current layer to grayscale, an example Python plugin.
- Convert the current layer to grayscale in Objective-C, the same as the Python implementation.
- Quick save as TIFF, an example Python plugin.
- Adding a reflection to the image, an example Python plugin.
- Write out the bitmap layers to /tmp, and example Python plugin.
- Create a new image, an example Python plugin/action to make a new image with a size of 800x450
- Turn on shadows for selected shapes, an example Objective-C plugin for modifying shapes.
- Google Image∞, an example Python plugin which loads a nib. Uses Google image search to find an image and makes a new Acorn image out of it. Written by Nico Weber.
Back to
Acorn