PngDevice greyscale

is it possible to specify the output png be in greyscale?

@gavinduffy

We are afraid that Aspose.PDF does not offer capability to modify colorspace of the images. However, you can use Aspose.Imaging to convert images into black and white and grayscale after generating them from the PDF using Aspose.PDF.

hi Asad

thanks for the reply.
i am trying to figure out the best way to create the png as fast as possible.
i need to convert the files in realtime, the default sample code is fast, but not quite fast enough.
any suggestions?
thanks.

@gavinduffy

The performance of the API depends upon different factors to be noticed like size of the PDF file, structure complexity of the PDF document, graphics used in it, installed system memory, .NET Framework/JDK version, etc. In case you are facing some notable performance issues, please share some sample PDF documents for our reference along with the current and expected conversion time taken by the API. We will further share our feedback with you accordingly.