src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/***
     * Load all images from the given folder path. Use an image filter {@link Constants#EXTENSIONS} for only allowed
     * images and only images. Images must end with one of the allowed endings {@link Constants#EXTENSIONS}. Takes also
     * a width and height for scaling {@link Helper#imageToBufferedImageScaled(Image, int, int, int)}
     * 
     * @param path
     *            String full path name to the folder
     * @return ArrayList all found {@link FastBitmap} in the folder
     */
Load all images from the given folder path. Use an image filter  Constants#EXTENSIONS for only allowed
images and only images. Images must end with one of the allowed endings  Constants#EXTENSIONS. Takes also
a width and height for scaling  Helper#imageToBufferedImageScaled(Image, int, int, int)

@param path
String full path name to the folder
@return ArrayList all found  FastBitmap in the folder
Load all images from the given folder path . Use an image filter Constants#EXTENSIONS for only allowed images and only images . Images must end with one of the allowed endings Constants#EXTENSIONS . Takes also a width and height for scaling Helper#imageToBufferedImageScaled ( Image int int int ) @param path String full path name to the folder @return ArrayList all found FastBitmap in the folder
public static ArrayList<FastBitmap> loadAllImagesScaled_FastBitmap(String path)
    {
        ArrayList<FastBitmap> pictureList = new ArrayList<>();
        File[] list = scanFolder(path);
        if (list != null)
        {
            for (File element : list)
            {
                BufferedImage tempimage = loadImage(path + File.separator + element.getName());
                pictureList.add(new FastBitmap(tempimage, element.getName(), Constants.USE_ORIGINAL_SIZE));
            }
        }
        return pictureList;
    }
public static ArrayList < FastBitmap > loadAllImagesScaled_FastBitmap ( String path ) { ArrayList < FastBitmap > pictureList = new ArrayList < > ( ) ; File [ ] list = scanFolder ( path ) ; if ( list != null ) { for ( File element : list ) { BufferedImage tempimage = loadImage ( path + File . separator + element . getName ( ) ) ; pictureList . add ( new FastBitmap ( tempimage , element . getName ( ) , Constants . USE_ORIGINAL_SIZE ) ) ; } } return pictureList ; }
Load all images from the given folder path.
Load all images from the given folder path .