Dear support,
I’m trying to convert some pdf file to image using a BmpDevice object (taking inspiration from here: https://docs.aspose.com/pdf/net/convert-pdf-to-bmp/
).
The problem is that on some files there is a strange colored rectangle that is not correctly rendered in the result image (it’s black, while it should be colored).
Other items (for example a colored text) are correctly rendered, even if they lie above the rectangle.
I also tried to parse the content of the file (using what I found here: https://docs.aspose.com/pdf/net/parsing/), but I found no evidences of the presence of the rectangle (there is no text with background color set, or something like this).
You can find attached an example of source file (with a green rectangle), and the bmp image I get as result (converted in jpg because bmp items are not allowed as attachments).
Could you help me with this? Am I doing something wrong?
Thank you in advance,
Francesco
Sample.pdf (64.2 KB)
Page1.jpg (58.4 KB)