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
Could this support a preserveAspectRatio and flipImageHorizontal option to the VideoBackground transformer?
Getting squashed and flipped images when I try to simply pass through a remote URL to the constructor VirtualBackground('https://i0.wp.com/apartmentapothecary.com/wp-content/uploads/2021/10/shoe-storage-for-very-narrow-hallway.webp?ssl=1')
^ that's using this image fwiw, notice how it's taller and oriented the other way horizontally
Was messing with the sample, and think this can be achieved pretty simply in BackgroundTransformer
something like this preserves the aspect ratio and flips the image (which is getting flipped by default in the current implementation, for some reason)
The text was updated successfully, but these errors were encountered:
sgrund14
changed the title
Preserve aspect ratio and flip on VirtualBackground?
Option to preserve aspect ratio and flip on VirtualBackground?
Sep 30, 2024
Hello!
Could this support a
preserveAspectRatio
andflipImageHorizontal
option to theVideoBackground
transformer?Getting squashed and flipped images when I try to simply pass through a remote URL to the constructor
VirtualBackground('https://i0.wp.com/apartmentapothecary.com/wp-content/uploads/2021/10/shoe-storage-for-very-narrow-hallway.webp?ssl=1')
^ that's using this image fwiw, notice how it's taller and oriented the other way horizontally
Was messing with the sample, and think this can be achieved pretty simply in
BackgroundTransformer
something like this preserves the aspect ratio and flips the image (which is getting flipped by default in the current implementation, for some reason)
Might be nice to do something like
The text was updated successfully, but these errors were encountered: