if(temp) {
File working = Globals.getInstance().preferences.workingFolder;
File[] images = working.listFiles(new FileFilter() {
@Override
public boolean accept(File pathname) {
<BUG>return FileUtils.getFileExtension(pathname).equals("png");

}</BUG>
});
for(File image : images) {

if(temp) {
File working = Globals.getInstance().preferences.workingFolder;
File[] images = working.listFiles(new FileFilter() {
@Override
public boolean accept(File pathname) {
String ext = FileUtils.getFileExtension(pathname);
if(ext == null || ext.equals("")) return false;
return ext.equals("png");
}
});
for(File image : images) {
