From 722b5dfba5ae8e1fe19c627d22c1769410f9948d Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 4 Jan 2023 14:32:16 +0100 Subject: [PATCH] add converter from text to image --- doc/README.Converters | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/README.Converters b/doc/README.Converters index e916159dc..dcb694138 100644 --- a/doc/README.Converters +++ b/doc/README.Converters @@ -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'