13 lines
294 B
PHP
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);
|
|
|
|
?>
|