We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Gradient does not applying while converting pdf to image


A PDF page that I am creating an image of, using Aspose.Pdf.Devices.PngDevice, is not producing the correct image.
The PDF contains a radial background gradient on top of which we have texts, I believe this radial gradient is not getting recognized and when rendering the image it shows a white background with no texts.

Is this a know issue with Aspose.PDF for Java?
I have tried the latest 21.9 version but it seems the same issue is with this version as well.


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input PDF.
  • Please attach the output image that shows the undesired behavior.
  • Please create a sample application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.