Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Update Resemble.js to latest version #55

Closed
ixisio opened this issue Jul 1, 2014 · 3 comments
Closed

Update Resemble.js to latest version #55

ixisio opened this issue Jul 1, 2014 · 3 comments
Labels

Comments

@ixisio
Copy link

ixisio commented Jul 1, 2014

We are searching for a way to use ignoreAntialiasingoption from Resemble.js in PhantomCSS, any suggestion?

Cheers
andy

@jamescryer
Copy link

IgnoreAntialising should be on by default in PhantomCSS https://github.com/Huddle/PhantomCSS/blob/master/phantomcss.js#L495

The algorithm handles differences in grey scale and colour anti-aliasing quite well, but is less good with cross-OS rendering or Windows ClearType differences.

https://github.com/Huddle/PhantomCSS#scaling-visual-regression-testing-within-a-large-team

@anselmh
Copy link

anselmh commented Jul 1, 2014

Hm, I can confirm having 'false-positives' both done on OS X but different machines. Sometimes even using the same machine produces this behavior, which is even more weird.
Setting a threshold might also help here, but I don’t have a clue if that’s possible to set?

@jamescryer
Copy link

https://github.com/Huddle/PhantomCSS#options-and-setup

mismatchTolerance might help, try upping the value, it's 0.05 by default

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants