Hello, We are facing an issue with some SVG to JPG Conversion for the attached SVG, Conversion gets successful but converted files looks like texts are gets errased, please check those files here – (https://drive.google.com/drive/folders/192qObaYjyA06mgnYJ_YGEIF8h23Xk6EI?usp=sharing)
We have tried it with groupDcos.Conversion latest version JAVA , please let us know any configuration required for it
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.
Please let us know is there any update on this svg to jpg conversion with erased text issue and if not yet then could you please suggest the ETA of resolution.