SVG to Image Conversion Issue

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

Thanks.

1 Like

@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.

Hi
Is there any update on this issue ?

@Swapnil_Walke

This issue is still under investigation. We’ll update you in case of any progress.

Is there any update on this issue ?

@Swapnil_Walke

This issue is still under investigation.

Is there any update on this issue ?

@Swapnil_Walke

The ticket is still in progress. As there’s any update, we’ll notify you.

Is there any update on this issue ?

@Swapnil_Walke

This issue is still under investigation.

Hello @Atir_Tahir,
kindly please let us know is there any update on this issue?
Thanks in advance.

@Pratiksha_Thakurdas

We cannot share any ETA of resolution at the moment. This ticket is still under investigation.

@Atir_Tahir
Please let me know is there any updates on this issue

@Pratiksha_Thakurdas

This issue is still under investigation.

@atir.tahir
Please let us know is there any updates on this issue

@Pratiksha_Thakurdas

This ticket is still in progress.

Hello @atir.tahir

Is there any update regarding how we can avoid the text getting errased while converting svg to jpg

Please let us know.

Thank you.

@Pratiksha_Thakurdas

Your ticket is still under investigation. We’ll notify you in case of any update.

Hello @atir.tahir

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.

Thanks.

@Pratiksha_Thakurdas

We are currently working on this issue and will inform you as soon as we have an estimated time for resolution.