A worked example
A code occupying 25% of a 1080px-wide social post's width starts at roughly 270px — comfortably above a typical 150–200px working floor before any compression happens. That margin matters more here than the raw starting number does, because the number that counts is what survives after the platform's own processing, not what was originally uploaded.
Recompressed before anyone's camera ever sees it
Every major social platform — Instagram, X, Facebook, TikTok, LinkedIn — runs uploaded images through its own compression pipeline before serving them to viewers, and this happens automatically, invisibly, and outside the control of whoever posted the image. It's a reasonable engineering tradeoff for the platforms: serving billions of images at full original resolution would be enormously expensive in bandwidth and storage, so recompression trades some image fidelity for dramatically smaller file sizes across an entire platform's traffic. For a photo of a sunset or a product shot, that tradeoff is usually invisible to the eye. For a QR code, it's a much bigger deal, because a QR code's function depends on preserving fine, high-frequency detail — sharp boundaries between small modules — and that's exactly the kind of detail lossy image compression is designed to sacrifice first.
The person posting the image typically never sees this happen. They upload a crisp, high-resolution source file, it looks fine in the platform's own preview, and they move on — with no visibility into how much the platform's backend has actually recompressed it for the version that gets served to viewers' feeds. A code that would decode without any trouble from the original file can end up materially softer, with visibly blockier edges around each module, once it's gone through a platform's compression. Whether that softened version still scans reliably depends on how much margin the original design had to begin with — which is exactly why decorative, heavily styled, or logo-embedded codes are a bigger risk on this surface than a plain, high-contrast one: they start with less error-correction margin, and recompression eats into whatever margin exists.
There's a second layer on top of platform compression that's specific to social media as a format: screenshots and reshares. A post doesn't just get seen once in its original published form — it gets screenshotted, cropped, reposted to a different platform, sometimes repeatedly, and each of those steps can introduce its own additional compression on top of what the original platform already applied. The only reliable way to know whether a code actually survives this whole pipeline is to test the real, published, already-compressed version — downloading it back off the platform and scanning that file — rather than trusting the pristine source file that never actually reaches a real viewer's screen.


