<?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: junjie lin</title>
    <description>The latest articles on DEV Community by junjie lin (@junjie_lin_42cfaed3aa0be3).</description>
    <link>https://dev.to/junjie_lin_42cfaed3aa0be3</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%2F3965573%2Fb1ca490c-db7c-460f-86e1-5197eb95d3b8.png</url>
      <title>DEV Community: junjie lin</title>
      <link>https://dev.to/junjie_lin_42cfaed3aa0be3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/junjie_lin_42cfaed3aa0be3"/>
    <language>en</language>
    <item>
      <title>Dealing with bloated PDFs (without ruining diagram clarity)</title>
      <dc:creator>junjie lin</dc:creator>
      <pubDate>Thu, 04 Jun 2026 03:10:39 +0000</pubDate>
      <link>https://dev.to/junjie_lin_42cfaed3aa0be3/dealing-with-bloated-pdfs-without-ruining-diagram-clarity-3kla</link>
      <guid>https://dev.to/junjie_lin_42cfaed3aa0be3/dealing-with-bloated-pdfs-without-ruining-diagram-clarity-3kla</guid>
      <description>&lt;p&gt;Anyone else hit this exact wall?&lt;/p&gt;

&lt;p&gt;You have a 40MB PDF — technical spec, project doc, whatever — and you need to get it under 10MB for an upload. You Google a quick tool, drop the file in, wait... and then the download comes back with your architecture diagrams looking like this:&lt;/p&gt;

&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%2Fbz6bqxrkt7yleggo8fc6.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%2Fbz6bqxrkt7yleggo8fc6.png" alt=" " width="800" height="615"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The left side is what most "free" online compressors give you. The right side is what you actually need.&lt;/p&gt;




&lt;h2&gt;
  
  
  The two things that always go wrong
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Your vectors and text get rasterized&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Any tool that just throws JPEG compression at the whole page will destroy your diagrams, code blocks, and sharp typography. What was a clean SVG-style flowchart becomes a blurry mess at 100% zoom.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The paywall shows up after you've already waited&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You upload, you wait, you click download — and then: &lt;em&gt;"Upgrade to Pro to get your file."&lt;/em&gt; Classic bait-and-switch. Infuriating every single time.&lt;/p&gt;




&lt;h2&gt;
  
  
  What we actually built (full transparency)
&lt;/h2&gt;

&lt;p&gt;I'm part of the team that built &lt;a href="https://compress.aurorapdf.com" rel="noopener noreferrer"&gt;compress.aurorapdf.com&lt;/a&gt;. We ran into the same frustrations, so we built something to fix them.&lt;/p&gt;

&lt;p&gt;The core focus was &lt;strong&gt;separating what needs compression from what doesn't&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Heavy background images → aggressively optimized&lt;/li&gt;
&lt;li&gt;Text layers, vector graphics, code blocks → left completely intact&lt;/li&gt;
&lt;li&gt;No watermarks, no account required, no paywall at the end&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You drop the file in. It shrinks. You download it. That's it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why diagram clarity matters for devs specifically
&lt;/h2&gt;

&lt;p&gt;If you're sharing architecture docs, API specs, or anything with UML or flowcharts — blurry output isn't just ugly, it's &lt;strong&gt;actually unusable&lt;/strong&gt;. A diagram where you can't read the labels is worse than no diagram.&lt;/p&gt;

&lt;p&gt;Most consumer PDF tools are built for résumés and forms. They don't care about vector sharpness. We do.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try it on something complex
&lt;/h2&gt;

&lt;p&gt;Honestly the best way to test it is to throw something at it that other tools mangle. A PDF with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dense diagrams or flowcharts&lt;/li&gt;
&lt;li&gt;Small-font code snippets&lt;/li&gt;
&lt;li&gt;Mix of raster images and vector elements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop it into &lt;a href="https://compress.aurorapdf.com" rel="noopener noreferrer"&gt;compress.aurorapdf.com&lt;/a&gt; and let me know what you get. Genuinely curious how it handles edge cases — and if it breaks on something, I want to know.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>productivity</category>
      <category>tools</category>
      <category>pdf</category>
    </item>
  </channel>
</rss>
