You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for your amazing work, this lib is (will be really) usefull to me.
I'm trying to compute video from SVG sequence. Here I'm just generating a black and white slideshow off an array of image.
This is working but I have a small issue, I need to wait some times, here 250ms to be sure the image is loaded. Otherwise the first frame(s) of each image will be white.
Hi! Maybe you can move the <image> out of the svg itself and instead use the Image component from reactive-video, as it will wait for the image to load. if not, then you could probably use a new Image() with onload inside useForAsyncRenderer
Thanks for your help.
I tried some of that and here is what seems to be the easiest for my usecase :
awaitfetch(url)// the browser cache will make it the same as onLoad but without the extra lines awaittimeout(10)// svg filters can take some times to render, I need to had some delay to make sure it's ready
Hi,
First, thanks for your amazing work, this lib is (will be really) usefull to me.
I'm trying to compute video from SVG sequence. Here I'm just generating a black and white slideshow off an array of image.
This is working but I have a small issue, I need to wait some times, here 250ms to be sure the image is loaded. Otherwise the first frame(s) of each image will be white.
Do you think there is a better way to achieve this?
The text was updated successfully, but these errors were encountered: