Created
October 29, 2016 00:44
-
-
Save asper/9b060b12005e0652f96658a1f06d53d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
foreach (glob('./svg/*.svg') as $filename) { | |
$out = str_replace('svg', 'emf', $filename); | |
exec('inkscape --file '.$filename.' --export-emf '.$out); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment