I've set the driver to 'imagick' and here's the code that resizes the image:
Route::get('something', function()
{
$img = Image::make(storage_path('assets/someimage.jpg'))->resize(1000, null, function($cons){
$cons->aspectRatio();
});
return $img->response('jpg');
});
Original image is 1944 x 2300.
And the quality loss is quite prominent - image becomes a bit blurry.
Is there anything I need to configure or can I output an image a different way perhaps?
Below is the image resized with Photoshop
using Save for web -> JPG with quality set to 80
And here is the same image resized using intervention image:
The second one is a bit blurry if you look closely.