We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Some linked images doesn't render

Hey I have a render issues with some linked images.

Because the Add/Update button won’t take my .zip file I will send you my code here:

using System.IO;
using System.Text;
using Aspose.Pdf;
namespace ConsoleApp1
class Program
static void Main(string[] args)
const string html = @"(https://www.lucidchart.com/publicSegments/view/ac93a77c-6796-4f33-9e22-805637330b53/image.png)(http://i.imgur.com/WJXLylg.png)";

var htmloptions = new HtmlLoadOptions();

htmloptions.PageInfo.Width = Aspose.Pdf.Generator.PageSize.A4Width;

htmloptions.PageInfo.Height = Aspose.Pdf.Generator.PageSize.A4Height;

htmloptions.PageInfo.Margin.Top = MmToPoint(37.5);

htmloptions.PageInfo.Margin.Bottom = MmToPoint(18);

htmloptions.PageInfo.Margin.Left = htmloptions.PageInfo.Margin.Right = MmToPoint(23.5);

htmloptions.PageInfo.IsLandscape = false;

var doc = new Document(new MemoryStream(Encoding.UTF8.GetBytes(html)), htmloptions);



private static double MmToPoint(double mm)


return mm * 2.834646;




Hi Ismail,

Thanks for contacting support.

I have tested the scenario
and have managed to reproduce the problem that one of the image in html
string is not rendering into PDF file. For the sake of correction, I
have logged it as
PDFNET-42423 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.

Best Regards,