Class Array2Image

java.lang.Object
org.scictrl.scripts.Array2Image

public final class Array2Image extends Object

Array2Image class.

Version:
$Id: $Id
Author:
igor@scictrl.com
  • Constructor Details

    • Array2Image

      public Array2Image()

      Constructor for Array2Image.

  • Method Details

    • convert

      public static final BufferedImage convert(int[] array, int width, int height, String text)

      convert.

      Parameters:
      array - an array of
      invalid reference
      int
      objects
      width - a int
      height - a int
      text - a String object
      Returns:
      a BufferedImage object
    • convertN

      public static final BufferedImage convertN(int[] array, int width, int height, String text)

      convertN.

      Parameters:
      array - an array of
      invalid reference
      int
      objects
      width - a int
      height - a int
      text - a String object
      Returns:
      a BufferedImage object
    • main

      public static void main(String[] args) throws IOException

      main.

      Parameters:
      args - an array of String objects
      Throws:
      IOException - if any.