Evgeny Stambulchik found a nicer solution for this problem. The annotations from the PDF are removed from the document (at least in the in-memory version).
Therefore we can use render() again and have nice pixel graphics. We released v4.1.2 to reflect this change.
signature.asc
Description: PGP signature