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

Free Support Forum - aspose.app

Html to Jpeg

I am using this code to get image of the html page.
But it generate 4 image and each and every image with broken css. Even i have try with this given link to check demo purpose to generate image from url but it is not working.

Url -: https://products.aspose.app/html/conversion/html-to-jpg

Kindly take a look over it and guide us how to generate image from passing url.

public IActionResult Index(string url)
// Invoke the ConvertHTML method to convert the HTML code to JPG image

Convert HTML to JPG!

”, “.”, new ImageSaveOptions(ImageFormat.Jpeg), Path.Combine(OutputDir, “convert-with-single-line.jpg”));
return View();


Could you please share the URL with us and we’ll look into this scenario? Secondly, please always raise back-end API relates queries on this forum.