Skip to content

Thumbnails: Return WebP instead of PNG to decrease file and transfer size? #3794

Open

Description

@guruz

As discussed with @dschmidt

Followup of #3332 ?!

I'd think all platforms (web browsers, android, iOS..... desktop ? @TheOneRing ?) support WebP, but would need testing.

@dschmidt wrote:

OC_THUMBNAILS_ADDITIONAL_GENERATOR_FORMATS=image/webp:webp
OC_THUMBNAILS_ADDITIONAL_OUTPUT_TYPES=image/jpeg: image/webp, image/png: image/webp, image/tiff: image/webp, text/plain: image/webp, audio/mpeg: image/webp

UNTESTED!

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions