Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Reject .webp inputs #7

@fmarier

Description

@fmarier

The ideal workflow for users of this component is:

  1. User uploads a JPEG|GIF|PNG
  2. wasm-thumbnail converts to WEBP

so that we are guaranteed not to host the exact bytes that a user uploaded (i.e. we force a conversion between image formats).

At the moment, the Rust code will accept input images in any of the supported formats.

Metadata

Metadata

Assignees

No one assigned

    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