Open lorenzolanciok opened 1 year ago
Make sure the file you are using have .png extension and same resolution with video for overlay image file. Then you must define watermarkSize same as video resolution and watermarkAlignment as topLeft.
Its all about preparation of overlay image.
Hello!
I am using video_watermark to overlay images as a watermark on my videos. I wanted to position the watermark at the top left corner but with some margin from the top and the left edges.
Currently, there doesn't seem to be a feature that allows me to add this margin directly to the watermark. As a workaround, I tried wrapping my QR code image inside a larger transparent image, thinking the transparent areas would serve as the margin. However, when the video is generated, the transparent margin turns black. It seems the library might not be handling the transparency of the watermark image as expected.
Would it be possible to add a feature that allows setting margins for the watermark position directly?
Thank you very much for considering my request, Lorenzo