vals.add("");
vals.add("");
}
public Object compute(File f, FileTest fileTest) {
TifExtractor tiffext = new TifExtractor(f);
vals.set(0,tiffext.getTiffInt(TAGS.TIFF_BITS_PER_CHANNEL));
vals.set(1,tiffext.getTiffInt(TAGS.TIFF_COLOR_SPACE));
vals.set(2,tiffext.getXMP(XMPExtractor.XMP_ICC));
String tfs = tiffext.getTiffString(TAGS.TIFF_DESCRIPTION);
vals.set(3,tfs);
vals.set(4, tiffext.getXMP(XMPExtractor.XMP_KEY));
vals.set(5, tiffext.getXMP(XMPExtractor.XMP_INSTR));
String[] parts = tfs.split("(\\s\\s\\s+|\n)");
for(int i=0; (i < parts.length) && (i <4); i++){
vals.set(6+i,parts[i]);
}
tiffext.close();
return fileTest.fileTest(f);
}