first of all, Im new to this webpage and Im really sorry for any mistakes.
So, I needed to animate a png image of a Calligraphy text just like a handwriting effect. Recently I've watched a youtube video https://www.youtube.com/watch?v=wab7lQKHXL4, its about making a handwriting animation with strokes clipped to texts. So I was wondering, if I could clip the strokes to a png image and animate it just like the handwriting animation.
I tried to import the png image inside inkspace and drawn path on top of it, gave suitable stroke-width saved it as a svg file, and tried to animate it with stroke-dasharray, but its not working ,its not even showing up. although I can do the same with written texts just like in the video.
So is there any way ,I can achieve the same goal using a png image. thanks in advance, and sorry if I don't make any sense
The video you are linking is astonishing, if not crooked. The commentary points out it is done with a "custom" version of Inkscape, and I have to say there are some UI elements I have never seen. (Admittedly, I am on an older version from 2021, but the video is from 2017, when Inkscape oficially wasn't even on verson 1.0.) Maybe the specialists on https://graphicdesign.stackexchange.com/ can tell you more about this "custom" version?
The core action is selecting from the menu bar Object -> Set Clip. If this is the same as selecting Object -> Clip -> Set in my version (1.02), this cannot work. This action sets a
clip-path. Clip paths only clip to their fill area and have no stroke properties.What you have to do instead is
noneand the stroke color to white (#ffffff)Also, even after watching for multiple times, I am not sure on which element the
onloadattribute is set. Setting it on the path element in the mask certainly won't work, there is noloadevent happening there.The logical choice would be to wait for the image loading.
The result should be something like this: