Added PDF to PDF-A conversion script
This commit is contained in:
parent
101c47872e
commit
368b12928a
1 changed files with 14 additions and 0 deletions
14
pdf2archive.sh
Executable file
14
pdf2archive.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
name=$1
|
||||||
|
gs \
|
||||||
|
-dPDFA \
|
||||||
|
-dBATCH \
|
||||||
|
-dNOPAUSE \
|
||||||
|
-dCompatibilityLevel=1.4 \
|
||||||
|
-dOverrideICC \
|
||||||
|
-sDEVICE=pdfwrite \
|
||||||
|
-dPDFACompatibilityPolicy=1 \
|
||||||
|
-sProcessColorModel=DeviceRGB \
|
||||||
|
-sColorConversionStrategy=UseDeviceIndependentColor \
|
||||||
|
-o "$name-archive.pdf" \
|
||||||
|
"$name"
|
Loading…
Add table
Reference in a new issue