chenglou / chenglou/png-diff

Function to determine if two pngs differ

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
40
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I would find it useful to be able to determine wether two pngs differ or not. Something like this:

``` javascript
PNGDiff.differ(streamA, streamB, function (err, differ) {
if (err) throw err

console.log(differ ? 'They are not a like' : 'They look exactly the same')
})
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the PNGDiff API and inspect how PNG streams are currently read and compared. Add the requested differ callback behavior for two input streams, then verify that identical and different PNGs produce the expected result and callback errors are handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.