PHP Classes
elePHPant
Icontem

File: demo/morgen-demo.php

Recommend this page to a friend!
  Classes of Alexander Selifonov  >  morgen  >  demo/morgen-demo.php  >  Download  
File: demo/morgen-demo.php
Role: Example script
Content type: text/plain
Description: demo script
Class: morgen
Generate icon images for multiple platforms
Author: By
Last change:
Date: 3 years ago
Size: 416 bytes
 

 

Contents

Class file image Download
<?php
/**
* @name morgen-demo.php
* Demonstrating functionality of morgen.php
* @author Alexander Selifonov
*/


include_once('../src/morgen.php');

$generator = new \Morgen\IconGenerator();
$generator->setSvgConvertor('D:/app/inkscape/inkscape.exe -z {from} -e {to}');

$options = array(
 
'project' => 'project-greatApp.xml',
 
'forced' => true
);

$generator->createIconsFromImages($options);