diff --git a/config/alfresco/extension/ghostscript-pdf-rendering-context.xml.sample b/config/alfresco/extension/ghostscript-pdf-rendering-context.xml.sample new file mode 100644 index 0000000000..70f3f8cde5 --- /dev/null +++ b/config/alfresco/extension/ghostscript-pdf-rendering-context.xml.sample @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + ${gs.exe} + -version + + + + 127 + + + + + + + + + + cmd + /C + ${gs.exe} -dNOPAUSE -dSAFER -dBATCH -sDEVICE=png16m -dFirstPage=1 -dLastPage=1 ${resolution_opts} ${antialias_opts} "-sOutputFile=${target}" "${source}" 2> NUL + + + + + sh + -c + ${gs.exe} -dNOPAUSE -dSAFER -dBATCH -sDEVICE=png16m -dFirstPage=1 -dLastPage=1 ${resolution_opts} ${antialias_opts} "-sOutputFile=${target}" "${source}" 2> /dev/null + + + + + sh + -c + ${gs.exe} -dNOPAUSE -dSAFER -dBATCH -sDEVICE=png16m -dFirstPage=1 -dLastPage=1 ${resolution_opts} ${antialias_opts} "-sOutputFile=${target}" "${source}" 2> /dev/null + + + + + + true + + + + -r72 + -dTextAlphaBits=4 -dGraphicsAlphaBits=4 + + + + + + + + + + + application/pdf + + + image/png + + + + + + + + + + + + + + +