add converter for postscript

This commit is contained in:
Uwe Steinmann 2023-01-05 15:09:04 +01:00
parent 58fd8877fb
commit a94eccb6cf

View File

@ -100,6 +100,9 @@ application/pdf
mutool draw -F png -w %w -q -N -o %o %f 1
application/postscript
convert -density 100 -resize %wx '%f[0]' 'png:%o'
text/plain
a2ps -1 -a1 -R -B -o - '%f' | gs -dBATCH -dNOPAUSE -sDEVICE=png16m -dFirstPage=1 -dLastPage=1 -dPDFFitPage -r72x72 -sOutputFile=- -q - | convert -resize %wx png:- 'png:%o'