Skip to content

Feature request: Support AVIF format in PhotoCache #49980

Open
@Peque

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions