-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the equal pixels transparent #10
Labels
Comments
chrisdeely
added a commit
to chrisdeely/looks-same
that referenced
this issue
Oct 20, 2017
… control the alpha of unchanged pixels
anything stopping us merging this ? |
sorry, will check it today |
The fix will really help us. We need some universal automatic way to find out 'diff zone' in diff images. So, transparent pixel will be a marker of 'diff pixel'. |
Any update on this ? |
chrisdeely
added a commit
to chrisdeely/looks-same
that referenced
this issue
Jan 27, 2023
… control the alpha of unchanged pixels
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need
Deliverables
Solution
Adding another field to the
options object
:Modifying the setPixel method from the
prototype
ofPNGOut
, to receive another parameter, that will be set on thealpha channel
, i.ethis._png.data[idx +3]
.The text was updated successfully, but these errors were encountered: