Skip to content

Commit

Permalink
Add resizing processor to example
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Dec 5, 2019
1 parent 15fc361 commit aebb5cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class ProcessorCollectionViewController: UICollectionViewController {

var processors: [(ImageProcessor, String)] = [
(DefaultImageProcessor.default, "Default"),
(ResizingImageProcessor(referenceSize: .zero), "Resizing"),
(RoundCornerImageProcessor(cornerRadius: 20), "Round Corner"),
(RoundCornerImageProcessor(cornerRadius: 20, roundingCorners: [.topLeft, .bottomRight]), "Round Corner Partial"),
(BlendImageProcessor(blendMode: .lighten, alpha: 1.0, backgroundColor: .red), "Blend"),
Expand Down

0 comments on commit aebb5cc

Please sign in to comment.