Implemented TIFF LZW compression
This commit is contained in:
@@ -167,7 +167,7 @@ void TagDirectory::replaceTag (Tag* tag) {
|
||||
tags.push_back (tag);
|
||||
}
|
||||
|
||||
Tag* TagDirectory::getTag (int ID) {
|
||||
Tag* TagDirectory::getTag (int ID) const {
|
||||
|
||||
for (int i=0; i<tags.size(); i++)
|
||||
if (tags[i]->getID()==ID)
|
||||
@@ -175,7 +175,7 @@ Tag* TagDirectory::getTag (int ID) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Tag* TagDirectory::getTag (const char* name) {
|
||||
Tag* TagDirectory::getTag (const char* name) const {
|
||||
|
||||
if (attribs) {
|
||||
for (int i=0; attribs[i].ignore!=-1; i++)
|
||||
|
@@ -74,8 +74,8 @@ class TagDirectory {
|
||||
const TagAttrib* getAttrib (int id);
|
||||
const TagAttrib* getAttrib (const char* name);
|
||||
const TagAttrib* getAttribTable() { return attribs; }
|
||||
Tag* getTag (const char* name);
|
||||
Tag* getTag (int ID);
|
||||
Tag* getTag (const char* name) const;
|
||||
Tag* getTag (int ID) const;
|
||||
void addTag (Tag* a);
|
||||
void addTagFront (Tag* a);
|
||||
void replaceTag (Tag* a);
|
||||
|
Reference in New Issue
Block a user