Net Core Html To Image

screenshot of Net Core Html To Image

.NET Core HTML to Image converter

Overview

The .NET Core HTML to Image Converter offers a seamless way to convert HTML strings or URLs into image bytes, addressing the need for a reliable and effective tool in scenarios where visual representation of HTML content is required. Developed to fill a gap in the existing market, this library is especially useful for developers seeking a simple yet powerful solution for image conversion. With its easy installation through NuGet, users can quickly integrate this tool into their projects without hassle.

This library makes use of the wkhtmltoimage tool, embedding it for enhanced performance and simplicity. It’s not only focused on Windows users, as there are plans for broader platform support, making it an attractive option for diverse development environments. Whether you're interested in generating images from web content or need flexibility in image formatting and quality, this converter is designed with the end-user in mind.

Features

  • Easy Installation: Available via NuGet, allowing for quick and hassle-free integration into .NET Core projects.

  • HTML to Image Conversion: Convert both HTML strings and URLs into image bytes efficiently.

  • Customizable Output: Set the output document width, output image format (defaulting to JPG), and adjust image quality on a scale from 1 to 100 for tailored results.

  • Embedded Tool: Incorporates wkhtmltoimage directly into the library, ensuring that users do not need to manage external dependencies.

  • Future Support: Plans for asynchronous methods and support for non-Windows platforms, enhancing the library’s versatility.

  • Open Source: Released under the MIT License, promoting collaboration and contributions from the community.