bimg = new BufferedImage(imageIcon.getIconWidth(), imageIcon.getIconHeight(), BufferedImage.TYPE_INT_RGB);
bimg.getGraphics().drawImage(img, 0, 0 , null);
}
} catch (Exception ex) {
PDFParseException ex2 = new PDFParseException("DCTDecode failed");
ex2.initCause(ex);
throw ex2;
}
return bimg;
}