data2image/Main.php
2011-01-03 15:27:03 +00:00

13 lines
294 B
PHP

<?php
error_reporting(E_ALL);
require_once "CharColorConverter.class.php";
require_once "BoxImage.class.php";
require_once "FileImageConverter.class.php";
$filename = $argv[1];
$mode = $argv[2];
$converter = new FileImageConverter();
$converter->convertFile($filename, $mode);
?>