I use laravel intervention to create image with watermark, but i found laravel intervention cannot handle image more than 2mb, here is my code:
// open an image file
$img = Image::make('msg-1-fc-40.jpg')->encode('jpg', 75);
$img->fit(250, 250, function ($constraint) {
$constraint->aspectRatio();
});
// finally we save the image as a new file
$img->save('test.jpg');
How can i process the image more than 2mb?