The discussion revolves around the auto-conversion of image uploads to JPG in Discourse. MarcP started the conversation, highlighting the issue with images having transparent elements and dark/light mode being affected by the conversion.
MarcP tried uploading images in webp and png formats, but they were still converted to jpg. piffy suggested turning off compression in the settings to prevent the conversion.
mattdm listed three relevant settings: recompress original jpg quality, png to jpg quality, and composer media optimization image encode quality. However, the interrelation between these settings and their impact on different file types is unclear.
Falco explained that the last setting relates to a blog post about using Rust, WebAssembly, and MozJPEG for faster and smaller uploads, which is separate from the server-side image optimization pipeline.
mattdm rephrased the concerns, highlighting the need to balance page load time, server-side storage, server load, upload speed, and image quality. JammyDodger mentioned a GitHub pull request that addresses the inconsistent use of JPEG and JPG.
sam clarified that the first two settings are server-side changes, while the last one is applied in the browser, reducing the payload sent to the server.