cifilter.app icon indicating copy to clipboard operation
cifilter.app copied to clipboard

Examples for CICategoryColorEffect

Open noahsark769 opened this issue 5 years ago • 2 comments

noahsark769 avatar Mar 09 '19 20:03 noahsark769

I would love to start expanding on example photos, but I'm not sure where to start. Do you have a script or tool setup to generate all the examples or have they been created manually?

duemunk avatar May 14 '19 12:05 duemunk

@duemunk yes, there's a process! Unfortunately it's fairly manual and not documented at the moment. The process looks like this:

  1. Build a debug build of the app (I think you might be the first one to do this other than me, so feel free to reach out with any questions)
  2. Go into the app in debug mode, put in some parameters for the filter you'd like to test and generate an output image, then tap the other share button, which calls this method on FilterApplicationExporter
  3. This will generate a filesystem directory named with a unique UUID - download the app's container via Xcode and drop that directory into web/src/data/examples and everything should work!

noahsark769 avatar May 14 '19 19:05 noahsark769