pankod / canvas2video

canvas2video is a backend solution for creating and rendering dynamic videos.
https://pankod.com
GNU General Public License v3.0
282 stars 38 forks source link

is there anyway we can use multiplier of dataURL? #17

Closed usama-gh closed 4 years ago

usama-gh commented 4 years ago

Hi, I want to keep canvas size of 500x500 on frontend and on backend video should be 1000x1000. This is possibly only via multiplier options in canvas.toDataURL({multiplier: 2}). If I do this on server it will return images of 1000x1000 which I guess canvas2video will use to create a video.

Can you tell me where and how I can do this?

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

usama-gh commented 4 years ago

Also when we will be able to create multiple videos requests at the same time?

usama-gh commented 4 years ago

This worked for me. In renderer.js I found out canvas1.toDataURL()

I added multiplier: 2 in it. Now it works.