SVG Support in data URL?

May I know if Aspose supports SVG while passing through DataURL?


I am trying to convert HTML to PDF. It has two images, one PNG file and the other a SVG both passed as base 64 Data URL to the background colour.

Some text

Some text

Some text 111111111111111111222222222222 3333333333333333

44444444444



Neither of the 2 methods, I tried converting html to pdf gave me correct result.
Method 1
private static void GeneratePDFHtmlLoadInputFile(string inputFile, string outputFile)
{
HtmlLoadOptions htmloptions = new HtmlLoadOptions(Directory.GetDirectoryRoot(inputFile));
Document doc = new Document(inputFile, htmloptions);
doc.Save(outputFile);
}

Method 2
private static void GeneratePDFSection(string inputFile, string outputFile)
{
Aspose.Pdf.Generator.Pdf pdf = new Aspose.Pdf.Generator.Pdf();
// instantiate Section object
Aspose.Pdf.Generator.Section section = pdf.Sections.Add();
// set the margin for section object
section.PageInfo.Margin.Top = 0;
section.PageInfo.Margin.Left = 0;
// set the page width information for section object
section.PageInfo.PageWidth = 1000F;
// set the page Height information for section object
section.PageInfo.PageHeight = 800F;
// adjust font automatically
pdf.IsAutoFontAdjusted = true;
// Read the contents of HTML file into StreamReader object
StreamReader r = File.OpenText(inputFile);
// instantiate Text object with HTML file contents
Aspose.Pdf.Generator.Text text = new Aspose.Pdf.Generator.Text(section, r.ReadToEnd());
// set the section orientation as Landscape
section.IsLandscape = true;
text.IsFitToPage = true;
text.IsHtmlTagSupported = true;
text.IfHtmlTagSupportedOverwriteHtmlFontNames = true;
text.IfHtmlTagSupportedOverwriteHtmlFontSizes = true;
section.Paragraphs.Add(text);
pdf.Save(outputFile);
}

Hi Arunabh,


Thanks for contacting support.

I have tested the scenario and have managed to reproduce the problem that images are not rendering in resultant file. For the sake of correction, I have logged this problem as PDFNEWNET-39976 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Could you please tell me if this ticket has been analysed yet, and when it is scheduled for fixing ? If it has not been analysed, can you please tell me when it will be ?

Hi Arunabh,


Thanks for your patience.

As we recently have been able to notice this issue, so its pending for review. As soon as we have some definite updates regarding its resolution, we will update you within this forum thread. Please be patient and spare us little time.
Hi Nayyer,

Can you please confirm if analysis has yet begun on this item yet ? If not, can you please confirm when it will begin ?

Hi Arunabh,


Thanks for your patience.

I am afraid the investigation has not yet started as the team has been still busy fixing other previously reported issues. As shared earlier, the team will surely start investigating this problem as per their schedule and as soon as we have some definite updates regarding its resolution, we will let you know.

We are sorry for this delay and inconvenience.


Can you please confirm if analysis has begun on this item yet ? If not, can you please confirm when it will begin ?

Hi Arunabh,


Thanks for contacting support.

The issue reported earlier is still pending for review as the team has been still busy fixing other previously reported high priority issues. The team will surely start investigating / resolving this problem as per their development plans but as normal rule of practice, the issues are resolved in first come first serve basis, and the issues reported under Enterprise Support or Priority Support have high precedence in terms of resolution as compared to issues logged under normal/free support forum.

Good afternoon , could you please tell me if this ticket has been analysed yet, and when it is scheduled for fixing ? If it has not been analysed, can you please tell me when it will be ?

Hi Arunabh,


Thanks for your inquiry. I am afraid investigation of your issue is still not started, it is pending for the investigation in the queue. We will notify you as soon as we made some significant progress towards issue resolution.

Thanks for your patience and cooperation.

Best Regards,

Could you please tell me if this ticket has been analysed yet, and when it is scheduled for fixing ? If it has not been analysed, can you please tell me when it will be ?

Hi Arunabh,


Thanks for your patience.

The issue reported earlier is still pending for review and is not yet analyzed. However I have intimated the product team to see if they can accommodate the issue in their schedule and as soon as we have some further updates, we will let you know.

Please note that we cannot guarantee any immediate resolution but as soon as the team has some spare slot, they will try accommodating this issue.

Please be patient and spare us little time.

Hi there, can you please confirm when this issue will be fixed ? We have now been waiting almost 3 months for a solution. Thank you in advance for your help.

Hi Arunabh,


Thanks for your patience.

The problem reported earlier as PDFNEWNET-39976 is still pending for review because its been reported under normal support model and the team has been busy fixing other previously reported high priority issues. The product team will surely consider fixing this problem as per their development schedule and as soon as we have some definite updates, we will update you within this forum thread. Please be patient and spare us little time.

Good afternoon , could you please tell me if this ticket has been analysed yet, and when it is scheduled for fixing ? If it has not been analysed, can you please tell me when it will be ?

Hi Arunabh,


Thanks for your patience.

The issue reported earlier is still pending for review and is not yet resolved. However as soon as we have some definite updates, we will let you know.

hi , could you please tell me if this ticket has been analysed yet, and when it is scheduled for fixing ? If it has not been analysed, can you please tell me when it will be ?

Hi Arunabh,


The issue reported earlier is pending for review and is not yet resolved. As shared earlier, the issues are resolved in first come first serve basis and this issue is still pending for review. As soon as we have started investigating this problem, we will let you know. Please be patient and spare us little time.

We are sorry for this inconvenience.

Hi there, can you please confirm when this issue will be fixed ? We have now been waiting over 4 months for a solution. Thank you in advance for your help.

Hi Arunabh,


Thanks for your patience.

I am afraid the issue reported earlier is not yet resolved. However we do understand that its been quite sometime since the problem was reported but as the team has been busy fixing other previously reported issues, so its not yet resolved. As requested earlier, please be patient and spare us little time and we will surely consider fixing this problem as per development schedule and as soon as we have some definite updates, we will let you know.