// BufferedImage image = ImageIO.read(new FileInputStream("c:\\userpicture.jpg"));
// TODO: get image.
BufferedImage image = null;
SVGOMImageElement imageelement = new SVGOMImageElement("", clone);
SimpleImageHandler imagehandler = new SimpleImageHandler(new ImageHandlerBase64Encoder());
SVGGeneratorContext svgcxt = SVGGeneratorContext.createDefault(clone);
imagehandler.handleImage((RenderedImage) image, imageelement,
imgx, imgy,