dimanche 3 février 2019

How to download a svg file rendered on a browser as a png or jpg?

I want to save the view(svg file) generated by the svgpng function as a image file(jpg or png). I tried using Imagick, but that's saying unable to load the imagick. I tried a lot but it's still saying unable to load. Is there any other way to download the svg?

Imagick error

public function svgpng(Request $request)
{
     $id=$request->id;
     $s=stud::find($id);
        return view('sample',['studentid'=>$s]);
}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire