-
Notifications
You must be signed in to change notification settings - Fork 538
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
Watermark in sharp #131
Comments
I'm confused as well. The docs seem to be out of date as they still reference Thumbor, yet do mention watermarking. Sharp has a |
Hey all - Apologies for the documentation issues, we've taken a look and realized that some parts weren't updated to align with v4's capabilities. We're in the process of publishing the updated docs and they should be online early this upcoming week. For the watermarking feature, we've added a feature request to our board and expect to have that rolled out in the next minor release. It will probably look something like this: |
Hi @hayesry, When you planned the next minor release please? |
Any news on an update on the watermark feature? |
Any news on an update on the watermark feature? |
Hi all, {"bucket":"htvarts","key":"image.jpg","edits":{"overlayWith":{"bucket":"htvarts","key":"logo.png","options":{"top":90,"left":205}}}} Create base64encode and try it. |
https://sharp.pixelplumbing.com/en/stable/changelog/#v0220-18th-march-2019 |
It would be nice if this package supported the intended use of the Sharp JS In our case, we need to use the Can we composite multiple images as this package is currently written? It doesn't appear so. |
We have updated our solution, and I believe your issue has been fixed. If you still see the issue with the latest version (v4.2), please feel free to reopen the issue. For the way how you can create a watermark, you can refer to the implementation guide Appendix D: List of Supported Thumbor Filters. You can also refer to the recent changes here. |
@georgebearden this still doesn't entirely work, and it's still set up to use the There is no documentation about this, and I personally can get a basic overlay to work but as soon as i try to add |
@adrienne Can you share the edits you used? |
same here.. |
i can confirm options.top and options.left is returning blank page with {} currently i am using the gravity option |
@adrienne and @eltonjothi |
Is this working now and how should we use it ? |
Did you manage to make it work and how ? Thanks ! |
@emeagenciadigital Thanks for reaching out to us. Unfortunately, we haven't released the update. Once it's done, this issue would be fixed. |
@beomseoklee any news on this topic? The Appendix D still only refers to Thumbor filters. How to use watermark/composite feature? |
Hope to fix the watermark function, thank you very much! |
I have made a detailed guide, how i have tried to add watermarks. |
Thank you very much. I can implement the text watermark after redeploying according to your guide, but the final text watermark image is not displayed normally, just like the output of the image address below, the text of the watermark is just ordinary alphabetic characters. Is it related to the font? |
I have updated the post, and also the code to support more options to tweak your watermark.. Please have a look at the section where you need to add the font config in the source/image-handler/fonts/fonts.conf |
Great! I would like to ask how to realize the support of image watermarking effect? |
I can confirm that the overlay works for me with this as the image request:
|
Is there any way to apply the overlayWith before a resize? |
* fixed regex to allow `\d+x\d+` in path * clarified regex
The current version of image handler with sharp don't support the watermark?
The text was updated successfully, but these errors were encountered: