-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support for composite multiple images #73
Comments
Can you show me what you tried? Although I have not tried this, you should be able to compose multiple images using something like |
Hi @vseventer, sorry for the late response
I tried to put face and flower on the background but the result only have flower and background. Look like the command only takes the latest composite image |
Thanks for providing this - while Sharp allows compositing multiple images, the CLI is not passing the images in the right format. Since this likely affects other operations too, I got to dig a bit deeper and figure out a pattern that works for all affected areas. |
Fixed in #75 - hoping to complete that PR soon and release a new major version. In your case, usage will be: sharp -i background-min.png -o result-min.png -f png composite face-min.png flower-min.png --gravity southeast |
Fixed in v4.0.0, now available. |
How to composite multiple images by a single command? I'm making a PHP SDK for Sharp using this project so maybe we need a solution for composite multiple images like Imagick.
The text was updated successfully, but these errors were encountered: