Colors lighter than the selected threshold are converted to white, darker colors will be black.
- This transformation does not include parameters.
- Applicable only to images smaller than 25 mega pixels.
- This transformation does not have any dependencies.
use shardimage\shardimagephp\factories\Transformation; $transformations = (new Transformation())->width(300)->threshold();