Answer the question
In order to leave comments, you need to log in
Inserting an image in the background of a gif animation. How is this possible to implement?
I welcome everyone! I have a question of this kind:
1) There is a template in which a white transparent area is in place of the face
2) A person uploads his photo with a face, moves, scales and adjusts to the cutout in the template (gif animation)
The template is a gif-animation, at the entrance we have several parameters (uploaded photo, coordinates) well, you need to somehow assemble all this into an animation.
Answer the question
In order to leave comments, you need to log in
regular libraries, as far as I remember, do not know how to work with animation, so just save them frame by frame, make changes and glue them into one
you can try to throw it all into the canvas and then save it as a gif, but this is js, not php, as you indicated,
but it also had an idea like the commentator above, i.e. split by frames)
Split the gif into frames, put a backdrop on each frame, then fold the frames into one gif in the opposite direction
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question