thumbor filters( format, watermark) are not working.
I've tried to run and play with serverless-image-handler.
What I've found is that some thumbor filters are not working as expected.
For example:
- filter
filters:format(webp)doesn't want to format image intowebp. When you will try to save formatted picture it will be still in origin format (*.jpg in my case) - filter
filters:watermark(imageUrl, x, y, alpha [, w_ratio [, h_ratio]])doesn't show watermark on my picture at all. I've comparedserverless-image-handlersetup with originalthumborinstallation( thumbor as docker image on my laptop) and above filters are working as expected. Would you be so kind to check if these filters working for you?
Hey @grendach: thanks for the heads up on the mappings not working as expected for you. We'll look into this and make the necessary adjustments in an upcoming release!
Hey @hayesry
Could you post an example of a native Sharp JSON object for watermarking an image as the Thumbor filter mapping doesn't seem to be working. How do you add the path to watermark image, x position, y position and transparency to the object?
Hey @grendach: thanks for the heads up on the mappings not working as expected for you. We'll look into this and make the necessary adjustments in an upcoming release!
Hi, do you have any status please? The watermark filter doesn't work for me too. Thanks
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.