public static BufferedImage loadEmbeddedBase64Image(String imageDataUri){
  try {
    byte[] buffer=getEmbeddedBase64Image(imageDataUri);
    if (buffer != null) {
      return ImageIO.read(new ByteArrayInputStream(buffer));
    }
  }
 catch (  IOException ex) {
    XRLog.exception("Can't read XHTML embedded image",ex);
  }
  return null;
}

public static BufferedImage loadEmbeddedBase64Image ( String imageDataUri ) { try { byte [ ] buffer = getEmbeddedBase64Image ( imageDataUri ) ; if ( buffer != null ) { return ImageIO . read ( new ByteArrayInputStream ( buffer ) ) ; } } catch ( IOException ex ) { XRLog . exception ( "Can't read XHTML embedded image" , ex ) ; } return null ; }
get the bufferedimage of an embedded base 64 image .
