summaryrefslogtreecommitdiff
path: root/cookiebanners
diff options
context:
space:
mode:
Diffstat (limited to 'cookiebanners')
-rwxr-xr-xcookiebanners/script.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cookiebanners/script.sh b/cookiebanners/script.sh
index 37e4567..eebf03a 100755
--- a/cookiebanners/script.sh
+++ b/cookiebanners/script.sh
@@ -58,3 +58,7 @@ jq -c '.[]' "$json_file" | while read -r item; do
# * use plugin <https://addons.mozilla.org/da/firefox/addon/save-pdf/>
find ~/data -mindepth 1 -maxdepth 1 -name '*' -exec mv '{}' "$pos.pdf" ';'
done
+
+# Post-processing to extract text strings and compress images:
+#find -name '*.pdf' -type f -exec pdftotext -raw '{}' \;
+#find -name '*.png' -type f -exec heif-enc -A '{}' \;