i want to do image transformMatrix in php any idea how to ?
using Imagick or else ??
$thumb = new Imagick('download.png');
$thumb->resizeImage(524,524,Imagick::FILTER_LANCZOS,1);
$thumb->setResolution(360,360);
$thumb->affineTransformImage(1, 0.4, -0.6, 0.6, 71, 0);
$thumb->writeImage('download3.png');
$thumb->destroy();
it gives error
Argument 1 passed to Imagick::affinetransformimage() must be an instance of ImagickDraw