---
title: "Discussion on \"Compress an image to under 100 KB in the browser (with a quality search)\" | Hashnode"
description: "Discussion on \"Compress an image to under 100 KB in the browser (with a quality search)\". Government forms, job portals and college sites love a \"photo must be under 100 KB\" rule. You can hit an exact size limit in the browser with the Canvas API, with no upload. The trick is to search for"
url: "https://hashnode.com/posts/compress-an-image-to-under-100-kb-in-the-browser-with-a-quality-search/6b0fc2bbad3d503e2c5adaa5"
---

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

Discussion

# [Compress an image to under 100 KB in the browser (with a quality search)](https://mediaextractr.hashnode.dev/compress-an-image-to-under-100-kb-in-the-browser-with-a-quality-search?utm_source=hashnode&utm_medium=feed)

Government forms, job portals and college sites love a "photo must be under 100 KB" rule. You can hit an exact size limit in the browser with the Canvas API, with no upload. The trick is to search for

2d ago · 3 min read · mediaextractr.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[media extractr](https://hashnode.com/@mediaextractr)

@mediaextractr

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
