Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xhcy1314 opened this issue Apr 28, 2024 · 0 comments
Open

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

xhcy1314 opened this issue Apr 28, 2024 · 0 comments
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: enhancement New feature or request

Comments

@xhcy1314
Copy link

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: #6161

Describe alternatives you've considered

Additional context

No response

@xhcy1314 xhcy1314 added STATUS-1: needs triage New issue which needs to be triaged TYPE: enhancement New feature or request labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant