Image::sharpen

Sharpen the current image

1.6M Downloads / Month

Open Source MIT License

public Intervention\Image\Image sharpen([integer $amount])

Sharpen current image with an optional amount. Use values between 0 and 100.

Parameters

amount (optional)

The amount of the sharpening strength. Method accepts values between 0 and 100. Default: 10

Return Values

Instance of Intervention\Image\Image

Examples

// create new Intervention Image
$img = Image::make('public/foo.jpg');

// sharpen image
$img->sharpen(15);

See also