I have an image in the following path of my project \ web \ resource \ img \ header2.jpg, I am using the library itextpdf I need to show the image in the PDF that is created and tried to declare it in different ways but it does not work find.
And tried like this:
Image firma = Image.getInstance("firma.JPG");
Image firma = Image.getInstance(\resource\img\encabezado2.jpg)
Image firma = Image.getInstance(\encabezado2.jpg)
Does anyone know how to do it and how to put a footer?