<?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: bhagwan das</title>
    <description>The latest articles on DEV Community by bhagwan das (@dasbd).</description>
    <link>https://dev.to/dasbd</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%2F3687617%2Fc9b3ddf5-dd9c-4780-baa6-ed78b8f5d555.jpeg</url>
      <title>DEV Community: bhagwan das</title>
      <link>https://dev.to/dasbd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dasbd"/>
    <language>en</language>
    <item>
      <title>I built a client-side Image to PDF converter (No Server Uploads)</title>
      <dc:creator>bhagwan das</dc:creator>
      <pubDate>Wed, 31 Dec 2025 14:29:27 +0000</pubDate>
      <link>https://dev.to/dasbd/i-built-a-client-side-image-to-pdf-converter-no-server-uploads-bo6</link>
      <guid>https://dev.to/dasbd/i-built-a-client-side-image-to-pdf-converter-no-server-uploads-bo6</guid>
      <description>&lt;h2&gt;
  
  
  Why uploading JPEGs to a server is a bad idea, and how I solved it with JS.
&lt;/h2&gt;

&lt;p&gt;We have all needed to turn a photo of a document (JPG/PNG) into a PDF. Maybe it's an ID card, a receipt for an expense report, or a homework assignment.&lt;/p&gt;

&lt;p&gt;The standard way is to search Google, find a random website, upload your image, and download the PDF.&lt;/p&gt;

&lt;p&gt;But as a developer, this workflow bothered me:&lt;/p&gt;

&lt;p&gt;Privacy: Why upload a personal photo to a remote server just to wrap it in a PDF container?&lt;/p&gt;

&lt;p&gt;Latency: Uploading high-res images takes time.&lt;/p&gt;

&lt;p&gt;Cost: Processing images on a server costs money, which is why most tools have ads or limits.&lt;/p&gt;

&lt;p&gt;I realized this could be done entirely in the browser. So, I built &lt;a href="https://omniflowkit.com/image-to-pdf" rel="noopener noreferrer"&gt;OmniFlowKit Image to PDF&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;How it works&lt;br&gt;
Instead of sending the image to a backend (Python/Node), I use client-side libraries to handle the conversion in the user's browser memory.&lt;/p&gt;

&lt;p&gt;Input: User selects JPG/PNG images.&lt;/p&gt;

&lt;p&gt;Process: The browser draws the images onto a PDF canvas using JavaScript.&lt;/p&gt;

&lt;p&gt;Output: The PDF is generated instantly and downloaded.&lt;/p&gt;

&lt;p&gt;The Result&lt;br&gt;
Zero Latency: It feels instant because there is no network request for the conversion.&lt;/p&gt;

&lt;p&gt;100% Privacy: The image data never leaves the device.&lt;/p&gt;

&lt;p&gt;Unlimited: Since it doesn't cost me server resources, I don't need to charge users or limit them to "3 files per day."&lt;/p&gt;

&lt;p&gt;Try it out&lt;br&gt;
I'm trying to build a suite of these "Local-First" tools to replace the ad-heavy giants. You can try the converter here:&lt;/p&gt;

&lt;p&gt;👉 Live Demo: &lt;a href="https://omniflowkit.com/image-to-pdf" rel="noopener noreferrer"&gt;Image to PDF Converter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know what you think of the performance!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>python</category>
      <category>privacy</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
