Skip to content

Commit

Permalink
Show more digits
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Mar 25, 2016
1 parent ac7f276 commit 61824b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rhel/dssim.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: dssim
Version: 1.3.0
Version: 1.3.1
Release: 1
Summary: This tool computes (dis)similarity between two (or more) PNG images

Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static void usage(const char *argv0)
"Compares first image against subsequent images, and outputs\n" \
"1/SSIM-1 difference for each of them in order (0 = identical).\n\n" \
"Images must have identical size, but may have different gamma & depth.\n" \
"\nVersion 1.3.0 http://pornel.net/dssim\n" \
"\nVersion 1.3.1 https://kornel.ski/dssim\n" \
, argv0, argv0);
}

Expand Down Expand Up @@ -176,7 +176,7 @@ int main(int argc, char *const argv[])
double dssim = dssim_compare(attr, original, modified);
dssim_dealloc_image(modified);

printf("%.6f\t%s\n", dssim, file2);
printf("%.8f\t%s\n", dssim, file2);

if (map_output_file) {
dssim_ssim_map map_meta = dssim_pop_ssim_map(attr, 0, 0);
Expand Down

0 comments on commit 61824b8

Please sign in to comment.