<?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: mj</title>
    <description>The latest articles on DEV Community by mj (@giveupperfect).</description>
    <link>https://dev.to/giveupperfect</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4126874%2F53db9e99-4d8b-47d1-9722-9b1ac6064a95.png</url>
      <title>DEV Community: mj</title>
      <link>https://dev.to/giveupperfect</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/giveupperfect"/>
    <language>en</language>
    <item>
      <title>I built a 100% client-side image resizer for marketplace sellers (no upload, no server)</title>
      <dc:creator>mj</dc:creator>
      <pubDate>Tue, 15 Sep 2026 20:08:57 +0000</pubDate>
      <link>https://dev.to/giveupperfect/i-built-a-100-client-side-image-resizer-for-marketplace-sellers-no-upload-no-server-gj3</link>
      <guid>https://dev.to/giveupperfect/i-built-a-100-client-side-image-resizer-for-marketplace-sellers-no-upload-no-server-gj3</guid>
      <description>&lt;p&gt;If you've ever listed anything on Etsy, you know the ritual: resize to 2000×2000, pad onto a white square, compress under 1MB, export as JPG — times 40 listings. Most people do this by hand in Photoshop or some sketchy online converter that uploads their product photos to who-knows-where.&lt;br&gt;
I got tired of both, so I built a small tool that runs entirely in the browser: &lt;a href="https://etsy-image-resizers.netlify.app/" rel="noopener noreferrer"&gt;https://etsy-image-resizers.netlify.app/&lt;/a&gt;&lt;br&gt;
What it does&lt;br&gt;
Presets for Etsy (listing 2000×2000, banners, shop icon), Amazon, eBay, Shopify, Depop, Mercari, Walmart&lt;br&gt;
White-background padding (pad mode) or center crop (cover mode)&lt;br&gt;
Target file size compression — it binary-searches JPEG quality until it hits ~1MB&lt;br&gt;
Manual crop editor with drag / zoom / keyboard nudging&lt;br&gt;
HEIC (iPhone) input via lazy-loaded heic2any&lt;br&gt;
Batch processing with JSZip download&lt;br&gt;
How it stays private&lt;br&gt;
There is no backend. Photos are read with the File API, drawn to a canvas element, and encoded back out locally. Nothing leaves the device — no upload endpoint exists to leak.&lt;br&gt;
A few implementation notes&lt;br&gt;
Quality binary search: instead of a fixed quality slider, you give a target size (e.g. "under 1MB") and the tool bisects canvas.toBlob quality until it lands just under. Sellers mostly care about "hit the limit, look good", not the quality number itself.&lt;br&gt;
Background-tab safety: progress used requestAnimationFrame, which pauses in background tabs and made it look frozen. It now races rAF against a setInterval fallback.&lt;br&gt;
Preset coverage: it covers 7 marketplaces in one place because people cross-list and shouldn't need 7 different tools.&lt;br&gt;
What's next&lt;br&gt;
More presets, possibly a PWA mode. If you sell on a platform that's missing, tell me the required dimensions and I'll add it.&lt;br&gt;
Repo (MIT): &lt;a href="https://github.com/giveUpPerfect/etsy-image-resizer" rel="noopener noreferrer"&gt;https://github.com/giveUpPerfect/etsy-image-resizer&lt;/a&gt;&lt;br&gt;
Live tool: &lt;a href="https://etsy-image-resizers.netlify.app/" rel="noopener noreferrer"&gt;https://etsy-image-resizers.netlify.app/&lt;/a&gt;&lt;br&gt;
Feedback welcome — especially on the crop editor UX and whether the preset list should go deeper (Poshmark/Vinted are on the radar but their published specs conflict, so I'm verifying before shipping).&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
