wordpress-mobile / wordpress-mobile/WordPress-Android

Media Uploads: Better support WebP uploads

Open
#20,418 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Media Performance
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

The core WordPress Performance team have introduced a WebP Uploads plugin that generates WebP images when JPEGs are uploaded. A user in 7802217-zen wrote in to let us know they expected this behaviour to carry over to the app.

Actual behavior

If a user has the WebP Uploads plugin enabled and uploads to the app, a WebP is not generated. Furthermore, when image optimization is enabled, WebPs uploaded to the app are auto-converted to JPEGs.

It would be good to, at the least, support WebPs when image optimisation is enabled, especially considering the core WordPress team's support for that image format for performance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the app's media upload and image-optimization paths, using the linked WebP Uploads plugin behavior as the reference. Done means JPEG uploads can produce WebP files when the plugin is enabled, and WebP uploads are preserved rather than converted to JPEG when image optimization is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.