This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This module provides a Python wrapper around CIImage and CIFilter for using CoreImage filters from Pythonista more easily. | |
How to use: | |
1) Create a CImage object. The constructor accepts either a file path, a ui.Image, PIL.Image.Image, or photos.Asset object. Example: | |
>>> # From a photo: | |
>>> img = CImage(photos.pick_asset()) | |
>>> # From a ui.Image: |