@Swapnil_Walke
We tried to convert the provided SVG to JPG using following Java code:
//Java code
//specify output folder
String outputFolder = "D:/";
//specify output file template
String outputFileTemplate = new File(outputFolder, "converted-page-%d.jpg").getPath();
try (FileOutputStream getPageStream = new FileOutputStream(String.format(outputFileTemplate, 1))) {
//pass the SVG file to the Converter class
Converter converter = new Converter("D:/input.svg");
ImageConvertOptions options = new ImageConvertOptions();
//set image type
options.setFormat(ImageFileType.Jpg);
options.setPagesCount(1);
converter.convert(getPageStream, options);
} catch (IOException e) {
System.out.println(e.getMessage());
}
We successfully reproduced this issue our end. Therefore, it’s been logged in our internal issue tracking system with ID CONVERSIONJAVA-1597. You’ll be notified in case of any update.