[TASK] Now using arguments from commandline.

This commit is contained in:
Jan Philipp Timme 2010-12-28 19:42:16 +00:00
parent 9342827940
commit e4dca73a14

View File

@ -3,7 +3,9 @@ require_once "CharColorConverter.class.php";
require_once "BoxImage.class.php";
require_once "FileImageConverter.class.php";
$filename = $argv[1];
$converter = new FileImageConverter();
$converter->convertFile("test.jpg");
$converter->convertFile($filename);
?>