lksv / node-resemble.js

LOOKING FOR MAINTAINER - Image analysis and comparison
MIT License
99 stars 37 forks source link

How to ignore identical pixels? #6

Closed shakyShane closed 9 years ago

shakyShane commented 9 years ago

I have a use-case where I only want the diff pixels written to the output PNG - I don't care about the ones that match.

I can remove this line https://github.com/lksv/node-resemble.js/blob/master/resemble.js#L395 and it does exactly what I want, but I was wondering if there was a config option for this?

Thanks :)

lksv commented 9 years ago

I suggest you to discuss this change https://github.com/Huddle/Resemble.js/ and possibly raise pull request there. Then I can easily merge it. This will be the cleanest way how to do that.

shakyShane commented 9 years ago

Ok, I'll do that - thanks :)

lksv commented 9 years ago

I am closing this issue. If it is still needed, reopen it.