imageToPdf returns a stream