diff --git a/doc/README.Converters b/doc/README.Converters index 5f278412e..e2cdebf72 100644 --- a/doc/README.Converters +++ b/doc/README.Converters @@ -119,7 +119,12 @@ application/pdf convert -density 100 -resize %wx '%f[0]' 'png:%o' - mutool draw -F png -w %w -q -N -o %o %f 1 + mutool draw -F png -w %w -q -N -o '%o' '%f' 1 + + pdftocairo '%f' -png -singlefile -scale-to-x %w -scale-to-y -1 - > '%o' + + pdftocairo needs to output to stdout because the output file name passed + to pdftocairo will be suffixed with png application/postscript convert -density 100 -resize %wx '%f[0]' 'png:%o'