- 0
Update multiple <canvas> at different sizes
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
OpenAI announces the general availability of ChatGPT Canvas experience
By pradeepviswav,
- 0 replies
- 1 view
-
- 8 replies
- 1 view
-
- 0 replies
- 0 views
-
Microsoft launches TypeScript 5.6 with a number of new improvements
By John Callaham,
- microsoft
- javascript
- (and 2 more)
- 1 reply
- 0 views
-
Free Download: Professional JavaScript for Web Developers eBook (worth $48)
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 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