Skip to content

[✨]Automatically compress images to support more devices. #38

@xhcy1314

Description

@xhcy1314

Is your feature request related to a problem?

Currently, image transcoding in the project only supports a single configuration, allowing only AVIF, WebP, or PNG to be passed in. Additionally, the transcoded resources do not include the original image format. I believe this approach does not align with a popular framework because a single configuration can lead to situations where devices that do not support a certain image format cannot view the images, causing anomalies.

Describe the solution you'd like

Compressing and transcoding while retaining the original image format, adding AVIF, WebP, and the original image format allows for automatic selection of the optimal image based on device capabilities.
PR: QwikDev/qwik#6161

Describe alternatives you've considered

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions