Change PDF dpi

Hello,

I have a PDF lets say 300 dpi. Is there any way I can make a copy of it with 150 dpi? One way is to extract it as PNG images and set the resolution in the constructor of PngDevice. But is there any more “direct” way (without extracting images)?

regards

@fnikolopoulos

Please note that the PDF files are resolution independent. Their resolution depends upon the resolution of the screen of the device on which they are rendering. As far as the resolution of the images inside PDF is concerned, that can be changed by extracting images and setting their resolution accordingly. At them moment there is no other way to do that.