A
A
Alex2019-12-05 23:25:37
PHP
Alex, 2019-12-05 23:25:37

Where is the best place to build NodeJS or PHP Imagick animations?

Now I use PHP Imagick to collect animations. JS collects frames in base64 and sends an array of data from the frames to the server in a PHP post request in JSON format. There, JSON is already parsed and frames are assembled using Imagick into animation. But I noticed one thing, PHP with such a request starts to eat up the RAM well.
The question arose whether it was right to choose PHP at all, maybe on NodeJS this process will be faster and with less resources, does anyone have experience that will allow you to unambiguously say where it is better to assemble the animation? Or can someone tell me for what reason there is such a zhor memory?
Also, maybe someone knows the assembly method better? for example using some kind of php framework or something else?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Gorelov, 2019-12-06
@Kirill-Gorelov

Am I the only one who thinks the answer is obvious?
I still don’t quite understand what you want to animate, but in 99% of the cases, any pure js library will do. Or on the same jQuery.
Moreover, you have already given a very important "bell" that your memory is eating up and why do you need it then?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question