Skip to content

Commit

Permalink
Merge pull request #252 from ember-learn/perceptualdiff-threshold
Browse files Browse the repository at this point in the history
add a threshold to perceptualdiff to prevent so much image churn
  • Loading branch information
mansona authored Oct 14, 2024
2 parents b045b9a + d4180c3 commit 0020ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
echo "$dest (unchanged)"
cp "$prev" "$dest"
return 0
elif perceptualdiff --output "$diff" --downsample 2 --colorfactor 0.5 "$prev" "$src" > /dev/null; then
elif perceptualdiff --output "$diff" --downsample 2 --colorfactor 0.5 --threshold 1000 "$prev" "$src" > /dev/null; then
echo "$dest (unchanged)"
cp "$prev" "$dest"
return 0
Expand Down

0 comments on commit 0020ff3

Please sign in to comment.