-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
i'm using this code:
$image = SVG::fromString($svg);
$doc = $image->getDocument();
$w = $doc->getWidth();
$h = $doc->getHeight();
$rasterImage = $image->toRasterImage($w, $h);
imagepng($rasterImage, $png_path);
it creates an image, but only partial.
the svg i'm using have image element in it and the image created is only part of the image element of the svg instead of the entire svg.
Metadata
Metadata
Assignees
Labels
No labels