#4804·romm

[Feature] Allow API image format preference

Author: bosch137Created Sep 26, 2026Updated Sep 26, 2026

Is your feature request related to a problem? Please describe. Another feature related to webp issues. https://github.com/rommapp/romm/issues/4777 Right now it seems like the API calls to get images just grab whatever they can or maybe even prioritize png/jpeg. I asked around in the discord, and this might be wrong but that is what it sounded like. This causes things like Argosy-Launcher's image cache to take up way more space because it uses the raw png/jpg files instead of the smaller webp conversions.

Describe the solution you'd like With the option to convert images to webp already existing, it would be nice to have a way (probably with env variables) to specify the preferred format the API should try and return first before defaulting to the current implementation. This would allow users to prioritize the webp version of files while retaining the originals on their server and also retain an option to serve the compressed webp version to devices with limited storage for an image cache.

Describe alternatives you've considered This could partially be solved with this request https://github.com/rommapp/romm/issues/4802 but it would require you to save only the webp version. I would imagine some people do genuinely want both the webp and the raw version, so it's probably not an end all solution.