Improved screenshot rendering quality by increasing the canvas scale from 1 to 2, resulting in sharper and higher-resolution images.
1
2
Added explicit backgroundColor: "#ffffff" configuration to prevent unwanted background artifacts during image generation.
backgroundColor: "#ffffff"
Enabled useCORS: true to improve compatibility with external resources.
useCORS: true
Refactored and simplified the implementation by removing unused dependencies.
Minor internal code cleanup for better maintainability and stability.
These updates improve visual fidelity, reliability, and overall performance of the screenshot generation process.