Wrap up
Wrap up 관련
This has been the briefest possible introduction to Core Image, yet we still managed to make something useful, using UISlider
for the first time and even writing images to the photo album.
Unless you really do intend to make Yet Another Core Image Filters Program (best of luck!) your use of Core Image will mostly be about manipulating a picture in a very specific way, using a filter you have hand-crafted to look great.
If you want to try other filters, search on Google for "Core Image Filter Reference" and have a read – it will list the input keys for each of them so that you can get really fine-grained control over the filters.
Review what you learned
Anyone can sit through a tutorial, but it takes actual work to remember what was taught. It’s my job to make sure you take as much from these tutorials as possible, so I’ve prepared a short review to help you check your learning.
Challenge
One of the best ways to learn is to write your own code as often as possible, so here are three ways you should try your new knowledge to make sure you fully understand what’s going on:
- Try making the Save button show an error if there was no image in the image view.
- Make the Change Filter button change its title to show the name of the currently selected filter.
- Experiment with having more than one slider, to control each of the input keys you care about. For example, you might have one for radius and one for intensity.