<?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: MakeMyStickers</title>
    <description>The latest articles on DEV Community by MakeMyStickers (@makemystickers).</description>
    <link>https://dev.to/makemystickers</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%2F3949381%2Fed958612-b4bf-42e9-a371-73f4c58d3030.png</url>
      <title>DEV Community: MakeMyStickers</title>
      <link>https://dev.to/makemystickers</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/makemystickers"/>
    <language>en</language>
    <item>
      <title>I Built a Free Sticker Maker Because Every Other One Hid the Export</title>
      <dc:creator>MakeMyStickers</dc:creator>
      <pubDate>Sun, 24 May 2026 17:54:36 +0000</pubDate>
      <link>https://dev.to/makemystickers/i-built-a-free-sticker-maker-because-every-other-one-hid-the-export-41f6</link>
      <guid>https://dev.to/makemystickers/i-built-a-free-sticker-maker-because-every-other-one-hid-the-export-41f6</guid>
      <description>&lt;p&gt;Every "free" sticker and label maker I tried did one of three things: forced a signup, stamped a watermark on the export, or hid the actual download behind a trial. I just wanted to drop some images onto an Avery-compatible template and print them. So I built &lt;a href="https://makemystickers.app/" rel="noopener noreferrer"&gt;MakeMyStickers&lt;/a&gt;, with no account, no watermark, no email, and everything running client-side.&lt;/p&gt;

&lt;p&gt;Here are the parts that were actually interesting to build.&lt;/p&gt;

&lt;h2&gt;
  
  
  Print accuracy is a millimeter problem, not a pixel problem
&lt;/h2&gt;

&lt;p&gt;Avery-compatible templates (5160, 8160, 5163, 5167, etc.) are defined in real-world dimensions: label size, margins, pitch, and gaps in millimeters. Screens think in CSS pixels. So the whole layout engine works in mm internally and only converts to pixels at the very end.&lt;/p&gt;

&lt;p&gt;For export, that means rendering the full sheet to a canvas at print resolution:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const DPI = 300;
const canvasW = Math.round(paper.wMM / 25.4 * DPI); // mm -&amp;gt; inches -&amp;gt; px
const canvasH = Math.round(paper.hMM / 25.4 * DPI);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;At 300 DPI an 8.5x11" sheet is about 2550x3300px. Get the mm-to-px conversion wrong by a hair and every label drifts off its die-cut line, which on a 30-up sheet is very visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Generating the PDF on the client
&lt;/h2&gt;

&lt;p&gt;No server round-trip. I render the sheet to a canvas, encode it as a JPEG, and embed it into a PDF with &lt;a href="https://pdf-lib.js.org/" rel="noopener noreferrer"&gt;pdf-lib&lt;/a&gt;:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const blob = await new Promise(resolve =&amp;gt;
  sheetCanvas.toBlob(resolve, "image/jpeg", 0.92)
);

const doc = await PDFDocument.create();
// embed the image at exact page dimensions, then save
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Because the page size is set from the real paper dimensions, the PDF prints 1:1, with no "fit to page" scaling that would throw off alignment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Text that actually fits the label
&lt;/h2&gt;

&lt;p&gt;Auto-sizing text to a fixed label width is deceptively annoying. I dropped the old "average character width x 0.55" guess and used the canvas's real metrics:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const ctx = document.createElement('canvas').getContext('2d');
ctx.font = `${size}px ${family}`;
const realWidth = ctx.measureText(label).width;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Measuring the actual rendered width (per font and weight) means the text fills the label without overflowing the die-cut edge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: transparent PNGs for Cricut Print-Then-Cut
&lt;/h2&gt;

&lt;p&gt;For cut machines I export a transparent PNG instead, crop the canvas to its alpha bounds, and size it to the machine's printable area so it imports at the intended physical dimensions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;It's free and runs in the browser. Try it at &lt;a href="https://makemystickers.app/" rel="noopener noreferrer"&gt;makemystickers.app&lt;/a&gt; if you ever need to print labels or stickers. Happy to answer anything about the canvas/PDF pipeline in the comments.&lt;/p&gt;

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