Free Support Forum - aspose.com

SVG to PDF - square gains border


#1

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);
pdfDocument.save(outputPath, SaveFormat.Pdf);

Before/after sample attached:
boxGetsBorder.zip (1.7 KB)


#2

@simon.wiseman,

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.