$im = new imagick('test.svg');$im->setImageFormat('jpeg');$im->setImageCompressionQuality(90);$im->writeImage('test.jpg');$im->clear();$im->destroy();