WP File Manager
Current Path:
/
home
/
argothem
/
www
/
organecyberpresse
/
plugins
/
auto
/
adaptive_images
/
v3.4.0
/
lib
/
potracio
/
Name
Action
..
LICENSE
Edit
Potracio.php
Edit
README.md
Edit
example.php
Edit
Editing: example.php
<?php require_once 'Potracio.php'; use Potracio\Potracio as Potracio; $pot = new Potracio(); $pot->loadImageFromFile('image.jpg'); $pot->process(); header('Content-type: image/svg+xml'); echo '<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'; echo $pot->getSVG(3); ?>