matplotlib ne supporte pas WebP. Remplace plt.imread() par PILImage.open().convert('RGB') dans generate_pdf_report.