Skip to content

Commit 61824b8

Browse files
committed
Show more digits
1 parent ac7f276 commit 61824b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rhel/dssim.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dssim
2-
Version: 1.3.0
2+
Version: 1.3.1
33
Release: 1
44
Summary: This tool computes (dis)similarity between two (or more) PNG images
55

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static void usage(const char *argv0)
7878
"Compares first image against subsequent images, and outputs\n" \
7979
"1/SSIM-1 difference for each of them in order (0 = identical).\n\n" \
8080
"Images must have identical size, but may have different gamma & depth.\n" \
81-
"\nVersion 1.3.0 http://pornel.net/dssim\n" \
81+
"\nVersion 1.3.1 https://kornel.ski/dssim\n" \
8282
, argv0, argv0);
8383
}
8484

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

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

181181
if (map_output_file) {
182182
dssim_ssim_map map_meta = dssim_pop_ssim_map(attr, 0, 0);

0 commit comments

Comments
 (0)