src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/**
     * Read an image file into {@link FastBitmap}.
     * 
     * @param filename
     *            String full name to the file location.
     * @return FastBitmap
     */
Read an image file into  FastBitmap.

@param filename
String full name to the file location.
Read an image file into FastBitmap . @param filename String full name to the file location .
public static FastBitmap loadImage_FastBitmap(String filename)
    {
        BufferedImage img = null;
        try
        {
            img = ImageIO.read(new File(filename));
        }
        catch (IOException e)
        {
            System.out.println("File Not Found");
        }
        return new FastBitmap(img, filename, Constants.USE_ORIGINAL_SIZE);
    }
public static FastBitmap loadImage_FastBitmap ( String filename ) { BufferedImage img = null ; try { img = ImageIO . read ( new File ( filename ) ) ; } catch ( IOException e ) { System . out . println ( "File Not Found" ) ; } return new FastBitmap ( img , filename , Constants . USE_ORIGINAL_SIZE ) ; }
Read an image file into {@link FastBitmap}.
Read an image file into { @link FastBitmap } .