I have an image and would like to apply a watermark (another image) over it using Node.js. The requirement is watermark shouldn't be a solid picture (what I can do with gm library's draw()) but half transparent. Can you please advise any tool to use?
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- google-drive can't get push notifications
- CV2 Image Error: error: (-215:Assertion failed) !s
相关文章
- node连接远程oracle报错
- How can make folder with Firebase Cloud Functions
- Use savefig in Python with string and iterative in
- Where does this quality loss on Images come from?
- @angular-cli install fails with deprecated request
- Specifying image dimensions in HTML vs CSS for pag
- How to insert pictures into each individual bar in
- node.js modify file data stream?
Use ImageMagick from the command line by forking a child-process
If you need an API abstraction, there is a great module found here https://github.com/rsms/node-imagemagick
You could make watermark image half-transparent already and use it with gm:
I use code
Error: Command failed: convert: Non-conforming drawing primitive definition `/path/to/half-transparent-watermark-image.png''@ draw.c / DrawImage / 3124