Have you checked if any plugins, modules, or themes use the .webp format? It is possible that during the reinstallation, the system automatically reuses old data or temporary files (cache) that are still left over from the previous version. Did you back up the entire /resources/image/ folder, or just the database data?