{
  "version": "https://jsonfeed.org/version/1",
  "title": "drm on Honeypot.net",
  "icon": "https://www.gravatar.com/avatar/d0e26881a0f918e9d92c7f32c2e3aa9a?s=96&d=https%3A%2F%2Fmicro.blog%2Fimages%2Fblank_avatar.png",
  "home_page_url": "https://honeypot.net/",
  "feed_url": "https://honeypot.net/feed.json",
  "items": [
      {
        "id": "http://kirk.micro.blog/2026/08/22/we-dont-need-no-stinking.html",
        
        "content_html": "<h1 id=\"we-dont-need-no-stinking-drm\">We don&rsquo;t need no stinking DRM</h1>\n<p>I found a book in Amazon Kindle format that I wanted to read. I couldn’t find it anywhere else, and I had some Amazon credits, so I bought it. The problem is, I don’t have a Kindle and don’t want one. I knew that <a href=\"https://calibre-ebook.com\">Calibre</a> has plugins to repair DRM-infected Kindle files but found that Amazon made changes to their apps last month that ruined that method. There’s a commercial DRM disinfectant for Macs that I downloaded to test, but it asked for some wild permissions and wanted me to <a href=\"https://developer.apple.com/documentation/security/disabling-and-enabling-system-integrity-protection\">disable SIP</a>. LOL, no. Finally, I took to sailing the seas looking for a usable EPUB, figuring that I already bought a copy and of course it’s morally OK to seek someone else’s assistance in format-shifting my purchase to one I could use. This particular book — I learned of it from the back of a <a href=\"https://www.2600.com\">2600 Magazine</a> — was niche enough that it wasn’t even available that way.</p>\n<p>I am not easily dissuaded.</p>\n<p>First, I looked up the specs of my Kobo Libra 2 reader. Its screen is 1264x1680 at 300 DPI.</p>\n<p>Next, I downloaded the Kindle app for my Mac. I opened the book I had just bought and adjusted the window size until the rectangle of text displayed on my screen was slightly smaller than the Kobo’s screen.</p>\n<p>Then I wrote a <a href=\"https://www.keyboardmaestro.com/main/\">Keyboard Maestro</a> macro to take a screenshot, save it to an incrementally numbered PNG file, turn the page, wait one second for the page-turning animations to finish, and then repeat the process a few hundred times.</p>\n<p>Now that I had screenshots of each page, I used <a href=\"https://imagemagick.org/\">ImageMagick</a> to crop the Kindle app’s window decoration off them, with a script running command lines like:</p>\n<div class=\"highlight\"><pre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;\"><code class=\"language-shell\" data-lang=\"shell\"><span style=\"display:flex;\"><span>$ magick kindle-001.png <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    -crop 1248x1597+342+182 +repage <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    -background white <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    -gravity center <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    -extent 1264x1680 <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    prepared/page-001.png\n</span></span></code></pre></div><p>Finally, I combined them all into a single PDF with a command like:</p>\n<div class=\"highlight\"><pre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;\"><code class=\"language-shell\" data-lang=\"shell\"><span style=\"display:flex;\"><span>$ img2pdf --imgsize 300dpi prepared/page-* --output mybook.pdf\n</span></span></code></pre></div><p>…and tagged it appropriately with:</p>\n<div class=\"highlight\"><pre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;\"><code class=\"language-shell\" data-lang=\"shell\"><span style=\"display:flex;\"><span>$ exiftool <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    -Title<span style=\"color:#f92672\">=</span><span style=\"color:#e6db74\">&#34;My Book&#34;</span> <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    -Author<span style=\"color:#f92672\">=</span><span style=\"color:#e6db74\">&#34;Jane Smith&#34;</span> <span style=\"color:#ae81ff\">\\\n</span></span></span><span style=\"display:flex;\"><span>    mybook.pdf\n</span></span></code></pre></div><p>The resulting book looks good with crisp text. Although it’s a bunch of screenshots bundled together, it’s still only about 40MB in size and that’s tolerable here.</p>\n<p>It would be nicer to have the book as a native EPUB. Since that wasn’t an option, my stubborness won and I made my own version.</p>\n",
        "date_published": "2026-08-22T10:12:56-07:00",
        "url": "https://honeypot.net/2026/08/22/we-dont-need-no-stinking.html",
        "tags": ["reading","geek","drm"]
      }
  ]
}
