---
title: "Discussion on \"How to use canvas in Web Workers with OffscreenCanvas\" | Hashnode"
description: "Discussion on \"How to use canvas in Web Workers with OffscreenCanvas\". Lately, I have been working on a feature to capture images from media streams and scale them down to reduce their size. This helps save storage and reduce costs before uploading the images to a storage service. For this, I used Canvas to render the i..."
url: "https://hashnode.com/posts/how-to-use-canvas-in-web-workers-with-offscreencanvas/6833085f00019df755f6f2f6"
---

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

Discussion

# [How to use canvas in Web Workers with OffscreenCanvas](https://blog.sachinchaurasiya.dev/how-to-use-canvas-in-web-workers-with-offscreencanvas?utm_source=hashnode&utm_medium=feed)

Lately, I have been working on a feature to capture images from media streams and scale them down to reduce their size. This helps save storage and reduce costs before uploading the images to a storage service. For this, I used Canvas to render the i...

May 25, 2025 · 7 min read · blog.sachinchaurasiya.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Sachin Chaurasiya](https://hashnode.com/@Sachinchaurasiya)

@Sachinchaurasiya · India

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

Product Engineer • Open Source • Technical Writer

Product Engineer with 5+ years of experience building scalable, performant, and user-focused products. I enjoy solving complex problems, bringing clarity to ambiguity, and turning ideas into high-quality execution. My strength lies in simplifying complexity, designing thoughtful systems, and building products that create real value.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
