Skip to content

Feature Request: Option to Disable Image Smoothing for Pixelated/Crisp Rendering #119

@chaitanya36000

Description

@chaitanya36000

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions