---
title: "Discussion on \"Vanilla JavaScript images in canvas\" | Hashnode"
description: "Discussion on \"Vanilla JavaScript images in canvas\". Another day of canvas exploration, and today we'll be looking at using images in our canvas.\nWe use the getImageData function to read an image, which will return an imageData object that copies pixel data.\nFor each pixel, we will get the rgba values...."
url: "https://hashnode.com/posts/vanilla-javascript-images-in-canvas/5f62f60c1d914f19b97de5ff"
---

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

Discussion

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

Another day of canvas exploration, and today we'll be looking at using images in our canvas. We use the getImageData function to read an image, which will return an imageData object that copies pixel data. For each pixel, we will get the rgba values....

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

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html-canvas](https://hashnode.com/tag/html-canvas)
-   [#canvas](https://hashnode.com/tag/canvas)
-   [#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

Markdown supported · ⌘↵ to post

No responses yet.
