mapbox / mapbox/pixelmatch

How to pass options in Binary for pixelmatch

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
7k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Hi,

We are using pixelmatch in our Java project and I wanted to understand how should we be passing optional parameters, I do not know if anti aliased pixels are currently ignored by default.

I'm getting issues sometimes in comparison

Expected:
![productPageClickOnAddToCart](https://user-images.githubusercontent.com/6651157/82231095-486db380-994a-11ea-80a6-fd533970a94c.png)

Current:
![productPageClickOnAddToCart_actual](https://user-images.githubusercontent.com/6651157/82231156-5faca100-994a-11ea-9d2a-2d51d66f6fe9.png)

Diff:
![productPageClickOnAddToCart_diff](https://user-images.githubusercontent.com/6651157/82231169-65a28200-994a-11ea-9fde-ca5f61b81292.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reviewing pixelmatch's option-passing API and anti-alias handling, then clarify the documented usage and default behavior for Java consumers; done means the optional parameters and anti-alias comparison behavior are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
testing-qa
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.