I have got this image (900x900, .jpg) - http://imgur.com/J1HArLS
I resized it to 290x290 and i got this - http://imgur.com/bZFyhxD
This is my PHP code :
$thumb_large = new \Imagick($path);
$thumb_large->setImageFormat( 'jpeg' );
$thumb_large->setResolution(900,900);
$thumb_large->setImageCompression(\Imagick::COMPRESSION_JPEG);
$thumb_large->setImageCompressionQuality(100);
$thumb_large->adaptiveResizeImage($value[0], $value[1]);
$thumb_large->writeImage(public_path() . '/uploads/images/'.$key.'/' . $file_name);
What am i doing wrong? The quality is horrible.