- 0
Update multiple <canvas> at different sizes
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft explains how to download and install the new "10 times faster" TypeScript
By hellowalkman,
- microsoft
- typescript
- (and 7 more)
- 0 replies
- 0 views
-
JavaScript devs beware: this very popular NPM package has been compromised by attackers
By David Uzondu,
- javascript
- axios
- (and 2 more)
- 0 replies
- 0 views
-
AI's impact on programming language popularity revealed
By zikalify,
- ieee
- programming languages
- (and 7 more)
- 3 replies
- 0 views
-
Over 300 npm packages compromised by self-replicating worm
By David Uzondu,
- javascript
- npm
- (and 3 more)
- 8 replies
- 0 views
-
Google will let you stream your live camera feed to AI Mode in Search for better results
By Usama Jawad96,
- google search
- (and 6 more)
- 1 reply
- 0 views
-
Question
Brian Miller
Can someone help me with a little bit of JavaScript?
Have a look at the attached image, I have a <canvas> element called "pic_256", that has a Picture that I've populated. I'd also like to add the same picture to the two other canvases, Each at different sizes, one at 128*128 and the other one at 64*64. Is there an easy way to update the other canvas elements ("pic_128" and "pic_64")with a smaller version of the original canvas ("pic_256")?
Link to comment
https://www.neowin.net/forum/topic/1405195-update-multiple-at-different-sizes/Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now