[diffoscope] 01/05: More descriptive image metadata
Chris Lamb
chris at chris-lamb.co.uk
Sun Jan 15 12:52:37 CET 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 7d2d001e427bfa4476ade49cc32984127c384ffe
Author: Maria Glukhova <siamezzze at gmail.com>
Date: Sun Jan 15 22:26:33 2017 +1100
More descriptive image metadata
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
Signed-off-by: Chris Lamb <lamby at debian.org>
---
diffoscope/comparators/image.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/diffoscope/comparators/image.py b/diffoscope/comparators/image.py
index 5192481..47ff4c2 100644
--- a/diffoscope/comparators/image.py
+++ b/diffoscope/comparators/image.py
@@ -87,7 +87,8 @@ class JPEGImageFile(File):
def compare_details(self, other, source=None):
return [
Difference.from_command(Img2Txt, self.path, other.path),
- Difference.from_command(Identify, self.path, other.path),
+ Difference.from_command(Identify,self.path, other.path,
+ source='Image metadata'),
]
class ICOImageFile(File):
@@ -106,7 +107,8 @@ class ICOImageFile(File):
return [
Difference.from_command(Img2Txt, *xs),
- Difference.from_command(Identify, self.path, other.path),
+ Difference.from_command(Identify, self.path, other.path,
+ source='Image metadata'),
]
@staticmethod
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list