generate PDF image using mudraw (from MuPDF)