We are using PDFBox 2.0 version in our project. What I needed to add a QRcode image with the rotation of the page. I have taken reference from the below link to