Here is a basic source code of the image filter and draw of the DNG file by using CIFilter, GLKView.

You can get a project from here. If you would be downloaded, you should run it on the device because CIFilter only running on the GPU. Below image a snapshot of the running code.

Left below button is to reset value to default. Right bottom button is to save a modified image to the camera roll.


Have fun!