Programming in objective-c: creating a bezier path from a simple image ios on newest questions tagged objective-c – Stack Overflow
I’d like to generate and draw some bezier paths based on an image in my app. The image will be really simple (black lines on a white background) such as the following:
Is there a method to process the image and create a bezier path based on the black lines? I’m completely lost here.
If you’re wondering the reason for needing the image to be a bezier path, I’m going to be comparing the generated bezier path with another bezier path that the user draws (basically a picture-password that the user will have to draw).
If there’s a better way to accomplish comparing an image to a bezier path, I’m all ears. Or, if bezier paths aren’t the way to go, then let me know. Thanks!
Programming in objective-c: programming-in-objective-c