I am trying to create a pdf file from database and I am stuck at the image part, since Apache pdf box only accepts physical files and the images in my database are in blob format.
PDXObjectImage image = new PDJpeg(doc,rs.getBlob("image"));
Can anyone help me?