2022年6月24日 星期五

PDF compress in Linux with gs

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output-ebook.pdf input.pdf
基本上這樣就可以把 PDF 檔壓到很小

-dPDFSETTINGS=/screen 可以壓到最小,但解析度很差

需要 ghostscript 套件

ref. PDF compress in Linux with command line utilities

JOE 4.8

在 Linux 環境下,一直都是使用 joe 編輯器 (JOE - Joe's own editor) 這個編輯器應該算冷門了,非 vi、vim 的編輯器中,nano 或 pico 使用群大概都比它多 joe 是使用 Ctrl 組合鍵來達到各種編輯動作 從 2018 年發...