0

[Solved] Resize canvas in js

How can I resize a canvas, for example from 280px height and width to only 28px?? Solution: https://code.sololearn.com/W1QJTlz8s7ue/?ref=app

1st Sep 2023, 7:18 PM
NinjaGamer
NinjaGamer - avatar
8 Respostas
+ 3
Let's see if there's an answer here: https://www.sololearn.com/discuss/2961386/?ref=app
1st Sep 2023, 7:46 PM
Ausgrindtube
Ausgrindtube - avatar
+ 3
That's awesome work NinjaGamer Happy coding
2nd Sep 2023, 7:46 AM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Ausgrindtube Mirielle I have investigated on my own and found what I needed, thanks anyway
1st Sep 2023, 10:44 PM
NinjaGamer
NinjaGamer - avatar
+ 2
Mirielle I wanted to resize based on pixels but without losing the content
1st Sep 2023, 10:46 PM
NinjaGamer
NinjaGamer - avatar
+ 2
That is great that you found the solution on your own. Mind sharing what you found?
2nd Sep 2023, 8:48 AM
Chris Coder
Chris Coder - avatar
18th Sep 2023, 4:01 PM
NinjaGamer
NinjaGamer - avatar