AuthorTravis Kirton
Tags filters
This example shows how you can apply a sepia filter to an image.
let filter = Sepia() //change filter settings img.apply(filter)
let image = Image("chop")! image.constrainsProportions = true image.width = canvas.width canvas.add(image) var filter = Sepia() filter.intensity = 5 image.apply(filter)