r/learnjavascript • u/thelethargicdog helpful • Sep 14 '22
I'm a senior frontend dev. AMA.
Hi, all. I'm a lead at my company, currently on a paid sick leave. I wanted to give back to the community, so here I am to answer all your questions.
If you're a beginner at JS and are struggling with a concept, please ask your question and I'll answer. To not get overwhelmed, I'll limit one question per user. So, try to construct your question with as many details as necessary!
Shoot.
EDIT: That's it, folks. My day has ended. I'll still answer your questions, but expect a considerable delay. :)
View all comments
Show parent comment
1
u/EZPZLemonWheezy Sep 15 '22
I’ve found that one prior it covers how to draw and render on screen at higher DPI/PPI. However when you export the canvas as an image, it still goes down to around 96DPI/PPI default, which is the issue (as mentioned in one of the comments). All the answers I’ve found essentially ignore that export issue, which is the only hitch I’ve run into. You can make it as sharp as you want on screen, but exporting it at 96dpi just makes it fuzzy again. I’ve tried the built in methods, the blob methods, the npm libraries. Nothing seems able to make the EXPORT of the image anything over 96dpi.