Free Support Forum -

SVG to PDF - square gains border


Using aspose-imaging-18.11-jdk16 to convert SVG to PDF.
Converting SVG to PDF, a square graphic element gets a border. Also the colours seem to be a bit darker.

Code below:
LoadOptions options = new SvgLoadOptions();
Document pdfDocument = new Document(inputPath, options);, SaveFormat.Pdf);

Before/after sample attached: (1.7 KB)



I have worked with issue shared by you and have been able to observe. An issue with ID IMAGINGJAVA-1149 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with these issues so that you may be automatically notified once the issues will be resolved.