Jacob Collins Jacob is the JPedal Product Lead and specialises in PDF creation and manipulation. He also develops Salesforce backend systems and contributes to marketing and support. Outside work, he’s a 1900‑rated chess player, guitarist, and French learner.

How to add an image annotation to a PDF in Java

27 sec read

If you’ve been struggling to find a solution for inserting image annotations into a PDF, look no further. With JPedal you now have the ability to insert image annotations into PDF files using a few lines of Java.

All you need is a copy of JPedal, a BufferedImage, and a few lines of Java.

The bottom left corner of the image will be at (x0, y0) and the top right corner will be at (x1, y1). The image is scaled to fit within these bounds.


The JPedal PDF library allows you to solve these problems in Java


Jacob Collins Jacob is the JPedal Product Lead and specialises in PDF creation and manipulation. He also develops Salesforce backend systems and contributes to marketing and support. Outside work, he’s a 1900‑rated chess player, guitarist, and French learner.

Easily convert PDF to HTML in Java (Tutorial)

PDF to HTML conversion helps improve your PDF content for browser display. BuildVu is one of the leading PDF to HTML solution for developers....
Leon Atherton
1 min read