-
Notifications
You must be signed in to change notification settings - Fork 229
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
Set pixel color #45
Comments
get pixel color could also be useful |
Merged
Merged
Similarly - Any possibility of being able to set transparency per pixel? |
@Jake0oo0 // modify some pixel at coordinates (x, y)
var p = image.getPixel(x, y);
// set alpha channel of pixel to 50%:
p.a = 50;
image.setPixel(x, y, p, function(err, image){ ... });
|
Saw this shortly after making my comment, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: