- 0
Update multiple <canvas> at different sizes
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Download HTML, CSS, & JavaScript All-in-One For Dummies ($39.99 Value, now FREE)
By News Staff,
- ebook offer
- sponsored
- (and 5 more)
- 0 replies
- 0 views
-
- 1 reply
- 0 views
-
Microsoft is making TypeScript 10x faster for developers
By pradeepviswav,
- microsoft
- typescript
- (and 3 more)
- 4 replies
- 0 views
-
Microsoft introduces TypeScript 5.8: Explore the latest features and enhancements
By zikalify,
- microsoft
- typescript
- (and 4 more)
- 4 replies
- 0 views
-
OpenAI announces the general availability of ChatGPT Canvas experience
By pradeepviswav,
- 0 replies
- 1 view
-
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