XMP/IPTC metadata tunneling option, plus new EXIF tags; see issue #460

This commit is contained in:
Oliver Duis
2011-01-05 21:12:11 +01:00
parent b89e9d5760
commit 13dc744e9b
15 changed files with 83 additions and 25 deletions

View File

@@ -208,6 +208,11 @@ Tag* TagDirectory::findTag (const char* name) const {
return NULL;
}
void TagDirectory::keepTag (int ID) {
for (int i=0; i<tags.size(); i++)
if (tags[i]->getID()==ID) tags[i]->setKeep(true);
}
int TagDirectory::calculateSize () {
int size = 2; // space to store the number of tags