Product Version: PDFTron Java - v9.1.0
Please give a brief summary of your issue:
Is there a way to export an image from a pdf in grayscale to memory?
Please describe your issue and provide steps to reproduce it:
I would like to export a png image from a pdf page in grayscale without saving it to the filesystem. I have seen the PDFDraw.export method that accepts the gray hint as a parameter in the samples, but it also expects the file path to store the result, is there a way to get the result as a byte array or input stream?
Please provide a link to a minimal sample where the issue is reproducible: