// Create a new workbook Workbook workbook = new Workbook(); IWorksheet worksheet = workbook.getWorksheets().get(0); InputStream stream = this.getResourceStream("Smiling-Girl.svg"); try { IShape picture = worksheet.getShapes().addPicture(stream, ImageType.SVG, 20, 20, 120, 200); } catch (IOException e) { // Log ignored error of your code // log.debug(e.getMessage()); } // Save to an excel file workbook.save("AddSvgFile.xlsx");