/+ ghostscript

This commit is contained in:
fro
2025-12-22 15:46:40 -05:00
parent 7e9ba66a4e
commit 21dc207959
2 changed files with 3 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ figlet # ascii large letters | http://www.figle
filezilla # ftp, ftps and sftp client
firefox # browser
gimp # img editor
ghostscript # interpreter for the PostScript language - used for compressing pdfs
go # core compiler tools for golang
gparted # disk management
gpxsee # gps log viewer

View File

@@ -533,7 +533,6 @@ rote36() {
}
# ---
# mounting
# ---
@@ -597,7 +596,8 @@ imgResize() {
/home/poq/syncDir/gitRepos/gt.op.fo/miniProjects/2305_imgResizer/resize.sh 1200 "$1" jpg
}
pdfCompressor() {
# https://itsfoss.com/compress-pdf-linux/
pdfCompress() {
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH -sOutputFile=$1.compressed.pdf $1
}