Skip to content

Commit b52fca1

Browse files
committed
Added link to releases page.
Fixed a typo.
1 parent 82a16fa commit b52fca1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This tool compares between two images pixel by pixel. The features of this tool
77
## How it works
88

99
For each pixel, the channels are compared with their counterparts.
10-
If the value error for any channel exceeds the threshold, the whole pixel is considered different. If the number of different pixels exceeds the specificied limit, the result is a mismatch. The exit code will be 0 if the images match and -1 if they don't.
10+
If the value error for any channel exceeds the threshold, the whole pixel is considered different. If the number of different pixels exceeds the specified limit, the result is a mismatch. The exit code will be 0 if the images match and -1 if they don't.
1111

1212
When generating an error image, channels that don't pass the threshold will be kept 0. Otherwise the channel's value will be 128 (half intensity) plus half the error value.
1313

@@ -36,6 +36,10 @@ Options:
3636

3737
Image source: [Globe and high court (Spot the difference).jpg](https://commons.wikimedia.org/wiki/File:Globe_and_high_court_(Spot_the_difference).jpg)
3838

39+
## Binaries
40+
41+
Windows binaries (64-bit only) are available in the [Releases](https://github.com/yahiaetman/imgcmp/releases).
42+
3943
## Included Libraries
4044

4145
* [stb](https://github.com/nothings/stb)

main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const char* HELP =
1717
"This tool compares between two images pixel by pixel.\n"
1818
"For each pixel, the channels are compared with their counterparts.\n"
1919
"If the value error for any channel exceeds the threshold, the whole pixel is considered different.\n"
20-
"If the number of different pixels exceeds the specificied limit, the result is a mismatch.\n"
20+
"If the number of different pixels exceeds the specified limit, the result is a mismatch.\n"
2121
"The exit code will be 0 if the images match and -1 if they don't.\n"
2222
"When generating an error image, channels that don't pass the threshold will be kept 0.\n"
2323
"Otherwise the channel's value will be 128 (half intensity) plus half the error value.\n"

0 commit comments

Comments
 (0)