src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/**
     * Read an image file and transform it into a scaled {@link FastBitmap}.
     * 
     * @param filename
     *            String full path name
     * @param name
     *            String name
     * @return BufferedImage
     */
Read an image file and transform it into a scaled  FastBitmap.

@param filename
String full path name
@param name
String name
@return BufferedImage
Read an image file and transform it into a scaled FastBitmap . @param filename String full path name @param name String name @return BufferedImage
public static FastBitmap loadImageScaled_FastBitmap(String filename, String name)
    {
        BufferedImage img = null;
        try
        {
            img = ImageIO.read(new File(filename));
        }
        catch (IOException e)
        {
            System.out.println("File Not Found");
        }
        return imageToFastImage(img, name);
    }
public static FastBitmap loadImageScaled_FastBitmap ( String filename , String name ) { BufferedImage img = null ; try { img = ImageIO . read ( new File ( filename ) ) ; } catch ( IOException e ) { System . out . println ( "File Not Found" ) ; } return imageToFastImage ( img , name ) ; }
Read an image file and transform it into a scaled {@link FastBitmap}.
Read an image file and transform it into a scaled { @link FastBitmap } .