예제 #1
0
파일: images.py 프로젝트: Hypermedia/ghiro
 def _add_key(self, key, value):
     """Add a metadata key to results.
     @param key: key in full format (example: Exif.Photo.Size)
     @param value: value
     """
     family, group, tag = key.split(".")
     # Skipping keys wih empty values, they will not appear in report.
     if value and value != "" and value != "None":
         self.results[family][group][tag] = utils.to_unicode(value)
예제 #2
0
파일: images.py 프로젝트: vicgc/ghiro
 def _add_key(self, key, value):
     """Add a metadata key to results.
     @param key: key in full format (example: Exif.Photo.Size)
     @param value: value
     """
     family, group, tag = key.split(".")
     # Skipping keys wih empty values, they will not appear in report.
     if value and value != "" and value != "None":
         self.results[family][group][tag] = utils.to_unicode(value)
예제 #3
0
파일: images.py 프로젝트: Hypermedia/ghiro
 def _get_comment(self):
     """Extract comment."""
     if self.metadata.get_comment():
         self.results["comment"] = utils.to_unicode(self.metadata.get_comment())
예제 #4
0
파일: images.py 프로젝트: vicgc/ghiro
 def _get_comment(self):
     """Extract comment."""
     if self.metadata.get_comment():
         self.results["comment"] = utils.to_unicode(
             self.metadata.get_comment())