---
title: "Discussion on \"Vanilla JavaScript save canvas as an image\" | Hashnode"
description: "Discussion on \"Vanilla JavaScript save canvas as an image\". Yesterday we got started on our basic canvas course.\nThinking about the project I want to do, I need to export the canvas as an image.\nSo how do we convert the canvas to an image?\nThere are actually two ways of doing this, and we will explore both.\nS..."
url: "https://hashnode.com/posts/vanilla-javascript-save-canvas-as-an-image/5f60552a61ae5e025d85b32a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Vanilla JavaScript save canvas as an image](https://h.daily-dev-tips.com/vanilla-javascript-save-canvas-as-an-image?utm_source=hashnode&utm_medium=feed)

Yesterday we got started on our basic canvas course. Thinking about the project I want to do, I need to export the canvas as an image. So how do we convert the canvas to an image? There are actually two ways of doing this, and we will explore both. S...

Sep 15, 2020 · 2 min read · h.daily-dev-tips.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html-canvas](https://hashnode.com/tag/html-canvas)
-   [#image](https://hashnode.com/tag/image)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses 1

Markdown supported · ⌘↵ to post

[Damilare Richard Olagbende](https://hashnode.com/@DOlagbende)

[Sep 15, 2020](https://hashnode.com/posts/vanilla-javascript-save-canvas-as-an-image/5f60552a61ae5e025d85b32a/comment/5f605ce361ae5e025d85b3a5)

Thank you Chris. It was helpful.

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 15, 2020](https://hashnode.com/posts/vanilla-javascript-save-canvas-as-an-image/5f60552a61ae5e025d85b32a/comment/5f605ce361ae5e025d85b3a5#reply-5f6064e061ae5e025d85b3d6)

Thanks Damilare, glad you like it!
