Hi everyone
Just getting strated with Swift and iOS.
I'm looking to create a dithered version of an image in iOS.
I've captured the image to a UIImageView and have converted to greyscale, with export options to photos.
imagepicked.image = convertToGrayScale(image: image) //make greyscale, working.
imagepicked.image = simpleDitherExample(inputImage: image) //where do I start?
To create a dithered image like this:
https://en.wikipedia.org/wiki/Dither#/media/File:Michelangelo's_David_-_Floyd-Steinberg.png
I understand that the CIDither isn't available until iOS 13, any options now? Any free iOS libraries I can import and call?
Any help appreciated.
Thanks.
XCode 10.2.1
iPhone 7