src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/***
     * Transform image to {@link FastBitmap} with new height and width for scaling.
     * 
     * @param img
     *            Image to transform.
     * @param tagName
     *            String value to identify to image.
     * @return fi FastBitmap.
     */
Transform image to  FastBitmap with new height and width for scaling.

@param img
Image to transform.
@param tagName
String value to identify to image.
Transform image to FastBitmap with new height and width for scaling . @param img Image to transform . @param tagName String value to identify to image .
public static FastBitmap imageToFastImage(Image img, String tagName)
    {
        FastBitmap fi = new FastBitmap(imageToBufferedImage(img, BufferedImage.TYPE_INT_RGB), tagName, Constants.USE_ORIGINAL_SIZE);
        return fi;
    }
public static FastBitmap imageToFastImage ( Image img , String tagName ) { FastBitmap fi = new FastBitmap ( imageToBufferedImage ( img , BufferedImage . TYPE_INT_RGB ) , tagName , Constants . USE_ORIGINAL_SIZE ) ; return fi ; }
Transform image to {@link FastBitmap} with new height and width for scaling.
Transform image to { @link FastBitmap } with new height and width for scaling .