---
title: "Discussion on \"Compress an image to an exact size (like 100 KB) with binary search\" | Hashnode"
description: "Discussion on \"Compress an image to an exact size (like 100 KB) with binary search\". Online forms often demand “under 100 KB”. Instead of guessing a quality value, binary-search it."
url: "https://hashnode.com/posts/compress-an-image-to-an-exact-size-like-100-kb-with-binary-search/6af89718dfddfe3d303d7b45"
---

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

Discussion

# [Compress an image to an exact size (like 100 KB) with binary search](https://toolsdzire.hashnode.dev/compress-an-image-to-an-exact-size-like-100-kb-with-binary-search?utm_source=hashnode&utm_medium=feed)

Online forms often demand “under 100 KB”. Instead of guessing a quality value, binary-search it.

3d ago · 1 min read · toolsdzire.hashnode.dev  
Read the article

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

## Written by

[RAHUL KUMAR](https://hashnode.com/@toolsdzire)

@toolsdzire · New York, USA

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
