-
Notifications
You must be signed in to change notification settings - Fork 132
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
Geometry for composite #139
Comments
@romuloctba Would you be willing to create a pull request for this? |
Sure, if I'm able to make it work, I'll gladly PR here |
lol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys
I would like to know if you can give me an Idea in how can I make the
.composite
method acceptgeometry
attribute?Because I can do, via command line, this:
convert dog-face.jpg -alpha set -gravity center -extent 1000x1000 image_mask.png -geometry 100x-200 -compose DstIn -compose Over -composite -sampling-factor 2x1 result-dog-face.jpg
This would position my mask 100px+y and -200px-x from the gravity (center in this case)
But geometry is not a valid argument for node-imagemagick-native's .composite method.
Is there a way for me to patch it and add the geometry option?
The text was updated successfully, but these errors were encountered: