4

I have a CIImage and I am trying to draw lines on mouse drag along the path. Can I do that ?

I am building an app for mac, and I am new to Core Image.

theCakeCoder
  • 1,088
  • 1
  • 11
  • 20

1 Answers1

-1

You need create a graphics context first and then retrieve your image from that. Here's a link that will answer your question. It's for the iPhone but Mac and iPhone are very similar.

How to create a UIImage from the current graphics context?

Community
  • 1
  • 1
David
  • 14,205
  • 20
  • 97
  • 144