File: example/import.php

Recommend this page to a friend!
  Classes of Edgar Asatryan  >  PHP SVG Magick Library  >  example/import.php  >  Download  
File: example/import.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP SVG Magick Library
Compose vectorial graphics in SVG format
Author: By
Last change:
Date: 3 years ago
Size: 199 bytes
 

 

Contents

Class file image Download
<?php
use nstdio\svg\container\SVG;

require_once
__DIR__ . '/../vendor/autoload.php';

$svgString = file_get_contents('output/Royal_Badge_of_Wales_(2008).svg');

$svg = SVG::fromString($svgString);


For more information send a message to info at phpclasses dot org.