Skip to content

Commit efbee99

Browse files
committed
Edit readme
1 parent 7544939 commit efbee99

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

readme.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use Intervention\Image\Color;
3939
use Intervention\Image\Format;
4040
use Intervention\Image\Fraction;
4141

42-
// create image manager instance using the desired driver
42+
// create image manager instance using the preferred driver
4343
$manager = ImageManager::usingDriver(GdDriver::class);
4444

4545
// read image data from path
@@ -48,9 +48,6 @@ $image = $manager->decodePath('images/example.webp');
4848
// scale image by height
4949
$image->scale(height: 300);
5050

51-
// resize image canvas
52-
$image->resizeCanvas(height: Fraction::THIRD, background: Color::rgb(255, 55, 0));
53-
5451
// insert a watermark
5552
$image->insert('images/watermark.png', alignment: Alignment::BOTTOM_RIGHT);
5653

0 commit comments

Comments
 (0)