citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 070b4f2f16e934f68e42e5ee6dc83f920c26b720
parent 2a3d62600a694555647584137e038a24137ec717
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Sep 2020 05:07:20 -0700

pdf2remarkable: fixes

Diffstat:
Mbin/pdf2remarkable | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/pdf2remarkable b/bin/pdf2remarkable @@ -145,7 +145,7 @@ mkdir "${tmpdir}/${uuid}.thumbnails" # or 72x72, segment length 16, precision 8, frames 3 # # The following will look nice only for PDFs that are higher than about 32mm. -#convert -limit thread 1 -density 300 "$pdfname"'[0]' -colorspace Gray -separate -average -shave 5%x5% -resize 280x374 "${tmpdir}/${uuid}.thumbnails/0.jpg" +convert -limit thread 1 -density 300 "$pdfname"'[0]' -colorspace Gray -separate -average -shave 5%x5% -resize 280x374 "${tmpdir}/${uuid}.thumbnails/0.jpg" # Transfer files echo "Transferring $pdfname$ as $uuid$"