I would like to convert a BufferedImageto java.awt.Image.
My original image is tif, so I use JAI to read like PlanarImage:
Source PlanarImage = JAI.create ("fileload", IMG_DIR + tagImgName);
Then I save it as an attribute of objects as BufferedImage
tagImg = source.getAsBufferedImage ();
For .pdf-Export (via iText) I need this as java.awt.Image
Thank!
source
share