Tag

web screenshot

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Jan 14, 2025 · Backend Development

Building a Secure and Efficient Online Webpage Screenshot Service with Flask, Selenium, and Redis

This guide demonstrates how to create a robust online webpage screenshot service using Python, Selenium, and Flask, incorporating security measures like CSRF protection and domain whitelisting, performance enhancements with Redis caching and rate limiting, comprehensive error handling, resource management, and extensibility for future features.

BackendFlaskRedis
0 likes · 6 min read
Building a Secure and Efficient Online Webpage Screenshot Service with Flask, Selenium, and Redis
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 25, 2023 · Frontend Development

Implementing Web Page Screenshot Functionality in the Browser: Techniques, Libraries, and Optimizations

This article explores how to capture and process screenshots of web pages directly in the browser, discussing canvas drawImage basics, pixel extraction, the trade‑offs of using html2canvas versus dom‑to‑image, performance and bundle size considerations, and alternative plugin‑based approaches.

JavaScriptPerformancecanvas
0 likes · 18 min read
Implementing Web Page Screenshot Functionality in the Browser: Techniques, Libraries, and Optimizations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 21, 2023 · Frontend Development

Implementing Web Page Screenshot in Frontend: Techniques, Libraries, and Optimization

This article explores the challenges and solutions for implementing a web‑page screenshot feature, comparing canvas drawImage, html2canvas, dom‑to‑image, and Chrome extension approaches, while discussing performance, bundle size, and practical code examples for extracting and processing pixel data.

JavaScriptcanvasdom-to-image
0 likes · 17 min read
Implementing Web Page Screenshot in Frontend: Techniques, Libraries, and Optimization
Tencent Music Tech Team
Tencent Music Tech Team
Feb 2, 2018 · Backend Development

Generating Long Event Images for QQ Music Albums: Front‑end and Server‑side Solutions, Pitfalls and Optimizations

To quickly create shareable long‑event images for QQ Music albums, the team evaluated client‑side DOM‑to‑image tools (html2canvas and SVG) that suffered from blur, incompleteness, slow rendering and oversized base64 data, then migrated rendering to the server using PhantomJS, node‑canvas and ultimately ImageMagick, whose combined script execution, mpc caching, and Q8 build provided the most balanced quality‑performance solution despite remaining operational quirks.

ImageMagickPerformancePhantomJS
0 likes · 15 min read
Generating Long Event Images for QQ Music Albums: Front‑end and Server‑side Solutions, Pitfalls and Optimizations