method svg2png documentation in bbn\File\Image

function($svg, $filename) { if (class_exists('\\Imagick')) { $img = new \Imagick(); if (strpos($svg, 'setImageFormat("png24"); $res = $img->writeImage($filename); $img->clear(); $img->destroy(); return $res; } return false; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.