---
title: "Discussion on \"Hitting an exact GIF size limit with a binary search\" | Hashnode"
description: "Discussion on \"Hitting an exact GIF size limit with a binary search\". Discord, Slack and WhatsApp all have hard caps. Dragging a quality slider until it fits is a bad way to meet them."
url: "https://hashnode.com/posts/hitting-an-exact-gif-size-limit-with-a-binary-search/6b03d0cfe87e70cf632cf8fb"
---

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

Discussion

# [Hitting an exact GIF size limit with a binary search](https://saurabhsharmatools.hashnode.dev/hitting-an-exact-gif-size-limit-with-a-binary-search?utm_source=hashnode&utm_medium=feed)

Discord, Slack and WhatsApp all have hard caps. Dragging a quality slider until it fits is a bad way to meet them.

18h ago · 3 min read · saurabhsharmatools.hashnode.dev  
Read the article

-   [#webassembly](https://hashnode.com/tag/webassembly)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#performance](https://hashnode.com/tag/performance)
-   [#tooling](https://hashnode.com/tag/tooling)

## Written by

[Saurabh Sharma](https://hashnode.com/@saurabh2499)

@saurabh2499 · Houston, United States

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

Building things on the internet, breaking things, learning, and repeating.

I'm Saurabh, an independent developer. I build free web tools that answer one practical question well: cropping passport photos to spec, compressing GIFs to an exact file size, paycheck and overtime math, and cost estimates for dental implants and plastic surgery. PassportCrop and CompressGIFs run entirely in your browser, so your files are never uploaded.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
