{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"},{"label":"User Interfaces","url":"https://skillfed.io/packages/category/software-development-user-interfaces/2"},{"label":"Graphics Conversion","url":"https://skillfed.io/packages/category/multimedia-graphics-graphics-conversion"}],"enrichment":{"capability":"Generates PNG/image files from HTML, CSS, and URLs by wrapping headless browser rendering (Chrome, Chromium, or Edge).","skillfed_tags":["screenshot-automation","headless-browser","html-rendering"],"use_cases":["Generate screenshots of live websites for automated testing or visual regression detection.","Convert HTML email templates or reports to images for archival or distribution.","Create PNG thumbnails from HTML/CSS designs without manual browser interaction.","Batch-process multiple HTML files or URLs into images with consistent sizing and styling.","Render SVG and other vector formats to raster images via browser headless mode."],"what_it_does":"html2image wraps the headless rendering mode of Chrome, Chromium, or Edge to convert HTML, CSS, and web URLs into image files. It abstracts away the complexity of invoking browser command-line interfaces, letting you generate screenshots from HTML strings, local files, or live URLs with a simple Python API. The package handles temporary file management, supports batch operations, and allows customization of output size, format, and browser flags.\n\nThe main use case is automated screenshot generation for testing, documentation, or content creation. It depends on requests and websocket-client for network operations, and requires a compatible browser binary installed on the host system. The package is actively maintained, supports Python 3.6 through 3.13, and has no known security vulnerabilities.","worth_installing":"Yes. Low install friction, permissive MIT license, active maintenance, no known vulnerabilities, and broad Python version support (3.6\u20133.13). Install only if you have a compatible browser (Chrome, Chromium, or Edge) available on your system; otherwise, the package will fail at runtime. Suitable for production use in testing, documentation, and content pipelines."},"id":"html2image","links":{"html":"https://skillfed.io/packages/html2image","md":"https://skillfed.io/packages/html2image.md","pypi":"https://pypi.org/project/html2image/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-05-16","license_spdx":null,"license_treatment":"permissive","name":"html2image","python_support":"supports_current","summary":"Package acting as a wrapper around the headless mode of existing web browsers to generate images from URLs and from HTML+CSS strings or files."},"popularity":{"monthly_downloads":432002,"position":6711,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.7"}
