Skip to main content

move images_only_pdf into the images folder

ID
eeecadc
date
2023-05-02 18:47:32+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
7c50422
message
move images_only_pdf into the images folder
changed files
2 files, 11 additions

Changed files

images/README.md (1911) → images/README.md (2411)

diff --git a/images/README.md b/images/README.md
index fd95b98..0ef6c30 100644
--- a/images/README.md
+++ b/images/README.md
@@ -36,6 +36,17 @@ These scripts are for working with images and other visual material.
   </dd>
 
   <dt>
+    <a href="https://github.com/alexwlchan/scripts/blob/main/images/images_only_pdf">
+      <code>images_only_pdf [PATH]</code>
+    </a>
+  </dt>
+  <dd>
+    take a PDF, and create a new PDF whichb just has the images filling the page.
+    I use this to work around an odd behaviour of the “Scan Document” feature in Notes.app, where it adds a large white border around scanned images that I don’t want.
+    <p><strong>Note:</strong> this script overwrites the original file.</p>
+  </dd>
+
+  <dt>
     <a href="https://github.com/alexwlchan/scripts/blob/main/images/pdfthumb">
       <code>pdfthumb</code>
     </a>

images_only_pdf (1323) → images/images_only_pdf (1323)

diff --git a/images_only_pdf b/images/images_only_pdf
similarity index 100%
rename from images_only_pdf
rename to images/images_only_pdf