Skip to content

Support to webp #566

Open
Open

Description

@enoler

Hello,

Is it planned to add support to webp images? It is supported on Android and it allows to have the same image quality than png but with a very important reduction in the file size.

Activity

  1. changed the title [-]Support to webm[/-] [+]Support to webp[/+] on Oct 3, 2023
  2. avently commented on May 29, 2024

    @avently

    You can name images as .png and it will work fine on Android.
    If you need on desktop, additionally include webp lib from here: https://github.com/haraldk/TwelveMonkeys

  3. avently commented on May 29, 2024

    @avently

    Turns out, debug build in android works but release build fails on lint step because of wrong extension. So it's not an option, unfortunately

  4. MichaelOliveiraBx commented on Aug 4, 2024

    @MichaelOliveiraBx

    It is possible to enable it in resource ? with an boolean in gradle setup maybe, because with compose mulitplaform we can read webp image format without problem on each platform ?
    It is just to enable this extension at the resource ID generation.

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

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