Skip to content
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 image.paste support use pasted image color only? #296

Open
creeperyang opened this issue Mar 7, 2017 · 0 comments
Open

make image.paste support use pasted image color only? #296

creeperyang opened this issue Mar 7, 2017 · 0 comments

Comments

@creeperyang
Copy link

For example, I have a completely transparent png file (A, size: 32x32), and a normal png file (B, size: 32x32).

A.paste(0,0,B, (err, newImg) => {
  // newImg's color data should equal B's color data
})

Currently, the newImg has different color data.

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

No branches or pull requests

1 participant