code an object to apply filter effects to images on iOS devices.
The object needs to be in Obj-C, and needs to support filters similar to the included link. Must include a small demo app showing functionality of the object.
example of filters: [login to view URL]
The object needs to support a passed in UIImage and needs to be able to apply a filter and return a UIImage.
Object needs to support a method for UIImage, and enum for the filter type being applied, and return the modified UIImage:
(UIImage *)ApplyImageFilter:(UIImage *)_image FilterType:(ImageFilterTypes)_filtertype
typedef enum {
ft_Amaro,
ft_Rise,
ft_Hudson,
ft_XProII,
ft_Sierra,
ft_LoFi,
ft_EarlyBird,
ft_Sutro,
ft_Toaster,
ft_Brannan,
ft_Inkwell,
ft_Walden,
ft_Hefe,
ft_Valencia,
ft_Nashville,
ft_1977,
ft_Kelvin,
} _ImageFilterTypes;
I would like those filters to be emulated on the iDevice. When someone takes a photo, they could select if they would like to apply a filter to the photo.
As outlined above the object needs to be able to take the UIImage, and then apply the selected filter and return the new image.