Class
BlackAndWhiteTransform
public class BlackAndWhiteTransform: Transform
Converts the image to black and white.
Relationships
Superclass
Transform:nodoc:
Initializers
Methods
threshold(_:)
@discardableResult
func threshold(_ value: Int) -> Self
Adds the threshold option.
Parameters
| Name | Type | Description |
|---|---|---|
| value | Int |
Controls the balance between black and white (contrast) in the returned image. Valid range: |