I have now found that the rasterizer of ghostscript
simply did not work for me, maybe because of font issues. And convert
, another solution which you find quite frequently as answer for this kind of problem on the web, really shouldn't be used for anything but rastergraphics. The PDF functionality seems to be a farce.
I've ended up using pdftoppm
to do the rasterizing stage and convert
to convert to tiff which gave me a good result.