diff --git a/Main.php b/Main.php index cbb8177..4935287 100644 --- a/Main.php +++ b/Main.php @@ -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); ?> \ No newline at end of file