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

Feature request: Support AVIF format in PhotoCache #49980

Open
Peque opened this issue Dec 28, 2024 · 0 comments · May be fixed by #49981
Open

Feature request: Support AVIF format in PhotoCache #49980

Peque opened this issue Dec 28, 2024 · 0 comments · May be fixed by #49981
Labels

Comments

@Peque
Copy link
Contributor

Peque commented Dec 28, 2024

It seems like CardDAV's PhotoCache is currently supporting PNG, JPEG, GIF, ICO and (recently) WebP images.

AVIF is the only well-supported commonly used format for still images that is missing (excluding SVG for security concerns).

AVIF is supposed to supersede WebP with better compression, and already has wide adoption across major browsers.

Nextcloud intercepts GET requests on addressbook URLs ending with ?photo, and uses ALLOWED_CONTENT_TYPES to set the type name, returning 404 if the content type is not supported (not part of the allowed content types struct). So it would be great to add support for this format inside PhotoCache in order to be able to use AVIF in contact photos.

@Peque Peque added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Dec 28, 2024
@Peque Peque linked a pull request Dec 28, 2024 that will close this issue
4 tasks
@solracsf solracsf added 2. developing Work in progress and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants