L
L
levin-pwnz2019-02-22 12:21:44
PHP
levin-pwnz, 2019-02-22 12:21:44

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

4 answer(s)
A
Anton Shamanov, 2019-02-22
@SilenceOfWinter

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

2
2cha.headz, 2019-02-22
@glagolew059

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)

W
wagoodoogoo, 2019-02-22
@wagoodooogoo

Split the gif into frames, put a backdrop on each frame, then fold the frames into one gif in the opposite direction

R
rPman, 2019-02-24
@rPman

first request to google
html transparrent background gif animated
https://www.sitepoint.com/community/t/how-would-i-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question