mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
add converter for postscript
This commit is contained in:
parent
58fd8877fb
commit
a94eccb6cf
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user