String timezone = "";
AddImageProcess process = sk.makeAddImageProcess(timezone, true, false);
ArrayList<String> paths = new ArrayList<String>();
paths.add(imagePath);
try {
process.run(paths.toArray(new String[paths.size()]));
} catch (TskDataException ex) {
Logger.getLogger(Sample.class.getName()).log(Level.SEVERE, null, ex);
}
process.commit();