Updated submodules, added comments to shell/common

This commit is contained in:
2023-06-18 19:40:13 +10:00
parent c12d676cf7
commit 2b2afdd380
5 changed files with 15 additions and 4 deletions
+11
View File
@@ -53,3 +53,14 @@ ytpl-export () {yt-dlp -j --flat-playlist "$1" | jq -r '.id' | sed 's_^_https://
# common date format
shdate () {date +'%Y%m%d'}
# create function later:
# large image heavy pdf into smaller pdf
# below will:
# break pages into jpg files with 300dpi
# resize images to roughly 100k
# create a new pdf from jpg files
#
# pdftoppm -jpeg -r 300 input_document.pdf output_image
# jpegoptim --size=100k output_image*.jpg
# img2pdf $(ls -v output_image*.jpg) -o output_document.pdf