You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to compare only text and styling changes between images. How can i ignore linespaces while comparing?
Background:
I am comparing two webpages. Both webpages are of same source just deployed on two environments - env1 and env2.
Now env1 renders page with little whitespace of two lines from top while env2 renders without it. I have automated the process and of taking screenshot of webpages and then using image-comparison to compare the images from 2 env's
The text was updated successfully, but these errors were encountered:
slide-1_ppt1 has a linespace on top while slide-1_ppt2 does not. As a result I am getting whole content highlighted.
Result of comparison
How to ignore the linespace?
svccsotest10
changed the title
[IMPROVEMENT] - Ignoring whitespaces and comparing only text and styling changes
[IMPROVEMENT] - Ignoring linespaces and comparing only text and styling changes
Feb 17, 2022
How about allowing the user to select to remove a single background for comparison. I mean, if the background has the same pixel, we can chose to ignore them and just compare the remaining part.
Cheese-Bar
added a commit
to Cheese-Bar/image-comparison
that referenced
this issue
Apr 24, 2022
…son, which provide an enhancement to compare two pictures while ignore there position in the same pure bacground. Three different test cases are added to confirm it's correctness. The related issue is romankh3#217
I wanted to compare only text and styling changes between images. How can i ignore linespaces while comparing?
Background:
I am comparing two webpages. Both webpages are of same source just deployed on two environments - env1 and env2.
Now env1 renders page with little whitespace of two lines from top while env2 renders without it. I have automated the process and of taking screenshot of webpages and then using image-comparison to compare the images from 2 env's
The text was updated successfully, but these errors were encountered: