src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/***
     * Transform an image to a {@link FastBitmap} for internal use.
     * 
     * @param img
     *            Image given image to transform.
     * @param tagName
     *            String to identify the image.
     * @param imageType
     *            Integer value for the used ImageType.
     * @return fi FastBitmap
     */
Transform an image to a  FastBitmap for internal use.

@param img
Image given image to transform.
@param tagName
String to identify the image.
@param imageType
Integer value for the used ImageType.
Transform an image to a FastBitmap for internal use . @param img Image given image to transform . @param tagName String to identify the image . @param imageType Integer value for the used ImageType .
public static FastBitmap imageToFastBitmap(Image img, String tagName, int imageType)
    {
        FastBitmap fi = new FastBitmap(new BufferedImage(img.getWidth(null), img.getHeight(null), imageType), tagName, Constants.USE_ORIGINAL_SIZE);
        return fi;
    }
public static FastBitmap imageToFastBitmap ( Image img , String tagName , int imageType ) { FastBitmap fi = new FastBitmap ( new BufferedImage ( img . getWidth ( null ) , img . getHeight ( null ) , imageType ) , tagName , Constants . USE_ORIGINAL_SIZE ) ; return fi ; }
Transform an image to a {@link FastBitmap} for internal use.
Transform an image to a { @link FastBitmap } for internal use .