html2canvas-pro
html2canvas-pro copied to clipboard
Feature Request: Option to Disable Image Smoothing for Pixelated/Crisp Rendering
Currently, when rendering DOM elements containing images, the resulting canvas output often has anti-aliasing/image smoothing applied. This is problematic for use cases where a pixelated or "crisp-edge" rendering style is desired, such as for pixel art, retro-style graphics, or when upscaling low-resolution assets without blurring.
While CSS properties like image-rendering: pixelated; can be applied to elements in the DOM, html2canvas-pro doesn't seem to consistently honor this for its internal rendering process or its final scaling, leading to a smoothed output.
art area fix🐞:https://github.com/qq15725/modern-screenshot