generates photo filter data using CIFilter for iOS