mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
add converter from text to image
This commit is contained in:
parent
18ea59bfc7
commit
722b5dfba5
|
@ -90,6 +90,9 @@ image/jpeg
|
|||
image/png
|
||||
convert -resize %wx '%f' 'png:%o'
|
||||
|
||||
text/plain
|
||||
convert -density 100 -resize %wx 'text:%f[0]' 'png:%o'
|
||||
|
||||
application/pdf
|
||||
gs -dBATCH -dNOPAUSE -sDEVICE=png16m -dPDFFitPage -r72x72 -sOutputFile=- -dFirstPage=1 -dLastPage=1 -q '%f' | convert -resize %wx png:- '%o'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user