Opacity is not picking while Converting Byte Stream TO PDF

Hello Team,

We are trying to convert SVG file into PDF by using below aspose function

SvgLoadOptions options = new SvgLoadOptions();
com.aspose.pdf.Document pdf = new com.aspose.pdf.Document(new ByteArrayInputStream(this.source.getBytes()),
options);
pdf.getPages().get_Item(1).getPageInfo().getMargin().setTop(0);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
pdf.save(outputStream);
return outputStream.toByteArray();

SVG file contains Opacity Attribute but in converted PDF file it is not picking the opacity attribute.
below is the SVG element containing opacity attribute
Temp_Cheers.svg.zip (693.5 KB)

so is there a way to pass through this issue. Please share, any suggestion would be appreciated.

@neeraj.rathod

Thanks for contacting support.

We have tried to convert your SVG image into PDF and observed that opacity attribute was not present in the generated PDF. It seems like API is ignoring the opacity attribute while generating PDF. Hence, we have logged an issue as PDFJAVA-37196 in our issue tracking system. We will further investigate the reasons behind this issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFJAVA-37196) have been fixed in Aspose.PDF for Java 23.11.