I am developing an app in which I need to overlay text images gif on an image and want to add animation on each overlay item and then save it as an mp4 video. Till now I can create the video but how can I add animation to the overlay
Related
I'm embedding VLC in my Tkinter app and I want to draw transparent images on it.
The problem is that Tkinter does not support transparency except for canvas.
If I add a canvas background image with create_image, I can't pass its winfo_id to set_xwindow() because the image is an int:
player.set_xwindow(image_on_canvas.winfo_id())
AttributeError: 'int' object has no attribute 'winfo_id'
I need to pass the image to add other transparent images over it.
If I create a frame or label to play VLC then I can't draw transparent images over it.
I need to take a picture with a frame effect.
Can I preview camera image with the transparent PNG and later save the image?
Thanks!
Use nativescript-camera-plus plugin to add preview within your app, style it around with your frame.
Once the picture is taken, use nativescript-bitmap-factory to create a new image that combines your frame and the actual image form camera.
I found this code on internet and everything works fine but I dont want to resize gif images because when I resize animated gif files, destroying animation. Or if it is easy to make resize animated gif images without losing animation ,,,
I am try to set animated Gif image to the background image of the page but not luck. Can we set Gif image to the Xaml page background image? If yes please suggest any idea.
I have directly set gif image to the background, but it shows only first image of the gif.
I've been searching all day to use gif image inside html5 canvas can't find a useful article in it,is there any way I could use gif image inside canvas. I'm in position to use a gif image inside a canvas but it doesn't changes it loads loads the first frame only and how to play the gif image completely or is there any way I could use gif formatted image inside a
canvas.
Quote from jsgif: A GIF player in JavaScript
Unfortunately, the DOM doesn't expose individual frames of a GIF, so
this is done by downloading the GIF (with XMLHttpRequest), parsing it,
and drawing it on a .
Maybe you would take a look in the jsgif source code to find some ideas