public static void main(String[] args)
  {
    if (args.length > 1)
    {
      try
      {
        BufferedImage image = ImageIO.read(new File(args[0]));

        if (image != null)
        {
          ASCIIfier asciifier = new ASCIIfier(image);

          if (args.length > 2)
          {
            float fontSize = Float.parseFloat(args[2]);
            
            asciifier.setFontSize(fontSize);
          }

          asciifier.process(args[1].charAt(0));

          ImageIO.write(asciifier.getProcessedImage(), "png", new File(args[0] + "_asciified.png"));
        }
      }
      catch (Exception e)
      {
        System.err.println(e.getMessage());
        e.printStackTrace();
      }
    }
    else
    {
      System.out.println("Usage:");
      System.out.println("java ASCIIfier IMAGE CHARACTER [FONT SIZE]");
    }
  }