Understanding filters
iOS has a range of built-in filters that you can use to enhance photos. These filters are available via the Core Image library. Core Image is an image processing and analysis technology that provides high-performance processing for still and video images. There are over 170 filters available in Core Image, giving you the ability to apply a wide range of cool effects to your photos.
Important note
You can learn more about Core Image at https://developer.apple.com/documentation/coreimage.
For this app, you'll just be using 10 filters. The details of these filters are provided in a .plist
file. Import this file into your app by following these steps:
- If you have not yet done so, download and unzip the code bundle for this book at this link: https://github.com/PacktPublishing/iOS-14-Programming-for-Beginner-Fifth-Edition. You will find the
FilterData.plist
file inside theresources
folder in theChapter20
folder. - In the Project navigator...