Convert shadings in PDF to bitmaps

Q: We are building ani Pad app where we render PDF’s. The problem is
that de iPad is not able to render shading elements. Is it possible to
render shading elements inside a PDF using PDFTron? The iPad crashes
always on tensor_shading.


A: You can use PDFNet to render Tensor 7 shadings (as well as any
other feature in PDF) without any problems. You could extract the
shading element (similar to ElementEdit sample) and place it on a new
page, then render it using PDFDraw. You would then embed the
rasterized image (similar to AddImage sample) and then replace the
shading element with a new image element. The final result should be a
PDF document where all shading elements are converted to bitmaps.