spring-projects / spring-projects/spring-ai

Add WebP image support for multimodality

Open Beginner friendly
#6,474 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
1d 7h
Merged PRs (30d)
6

Description

Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested. => I searched for "webp".

Expected Behavior

WebP images can be used in multimodality

Current Behavior

Currently no constant is available for WebP in https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/util/MimeTypeUtils.html which is used by Spring AI Media class.

Context

How has this issue affected you?

Currently my company has a PDF to WebP converter pipeline and we'd like to then send these webp images to a LLM supporting multimodality.

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 inspecting the Spring AI Media class and the referenced Spring MimeTypeUtils API to see how supported image media types are represented. Confirm how multimodality inputs are tested in the repository, then verify that WebP images are accepted and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
ai
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
67/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.