<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ubed Sheikh</title>
    <description>The latest articles on DEV Community by Ubed Sheikh (@ubed_sheikh_4d4526b53b452).</description>
    <link>https://dev.to/ubed_sheikh_4d4526b53b452</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3936210%2F1b606365-9358-42e2-a909-1ce46f1b1d53.png</url>
      <title>DEV Community: Ubed Sheikh</title>
      <link>https://dev.to/ubed_sheikh_4d4526b53b452</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ubed_sheikh_4d4526b53b452"/>
    <language>en</language>
    <item>
      <title>I built an image compressor that targets an exact KB size because upload portals kept rejecting my files</title>
      <dc:creator>Ubed Sheikh</dc:creator>
      <pubDate>Sun, 17 May 2026 12:26:53 +0000</pubDate>
      <link>https://dev.to/ubed_sheikh_4d4526b53b452/i-built-an-image-compressor-that-targets-an-exact-kb-size-because-upload-portals-kept-rejecting-my-fa4</link>
      <guid>https://dev.to/ubed_sheikh_4d4526b53b452/i-built-an-image-compressor-that-targets-an-exact-kb-size-because-upload-portals-kept-rejecting-my-fa4</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3n4zak7w1yb7r8b303na.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3n4zak7w1yb7r8b303na.png" alt=" " width="513" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A few months ago I kept running into the same frustrating problem:&lt;/p&gt;

&lt;p&gt;Upload portals rejecting my images because the file size was just slightly over the limit.&lt;/p&gt;

&lt;p&gt;Especially on: It was frustrating re-compressing the same image over and over just to reduce a few extra KB.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Government forms&lt;/li&gt;
&lt;li&gt;Exam portals&lt;/li&gt;
&lt;li&gt;Visa applications&lt;/li&gt;
&lt;li&gt;Job applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most image compressors either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reduced quality too aggressively&lt;/li&gt;
&lt;li&gt;Failed to hit the required KB size&lt;/li&gt;
&lt;li&gt;Uploaded files to external servers&lt;/li&gt;
&lt;li&gt;Or required too many manual adjustments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I ended up building a browser-based image compression tool focused on one specific thing:&lt;/p&gt;

&lt;p&gt;Compressing images to an exact KB target while keeping the quality as usable as possible.&lt;/p&gt;

&lt;p&gt;A few things I focused on while building it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browser-based processing&lt;/li&gt;
&lt;li&gt;No signup&lt;/li&gt;
&lt;li&gt;Adjustable KB targeting&lt;/li&gt;
&lt;li&gt;Support for JPG, PNG, and WebP&lt;/li&gt;
&lt;li&gt;Keeping the workflow simple&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing I didn’t expect during development was how difficult ultra-low KB targets become.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Compressing a 2MB image to 500KB is easy&lt;/li&gt;
&lt;li&gt;Compressing that same image to 20KB without destroying it is much harder&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also realized metadata removal can make a surprisingly big difference for photos taken on modern phones.&lt;/p&gt;

&lt;p&gt;The project is still improving, but it has already become one of the tools I personally use most often.&lt;/p&gt;

&lt;p&gt;I’m still improving it, but it has already become genuinely useful for handling strict upload limits:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://easytoolkit.in/compress-image-to-kb/" rel="noopener noreferrer"&gt;https://easytoolkit.in/compress-image-to-kb/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>javascript</category>
      <category>tools</category>
    </item>
  </channel>
</rss>
