Support the ongoing development of Laravel.io →
Input Views Forms
Last updated 2 years ago.
0

You can use Intervention to achive this.

https://github.com/Intervention/image

// open an image file $img = Image::make('public/foo.jpg');

// resize image instance $img->resize(320, 240);

// insert a watermark $img->insert('public/watermark.png');

// save image in desired format $img->save('public/bar.jpg');

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.