I can only say support for those formats was added to pict-rs 0.4.0 released ~ 10 months ago. However, the lemmy ui allowed image formats look to be only jpg, jpeg, gif, png, svg, webp
Pawb.Social Feedback
An official community for users of Pawb.Social services (furry.engineer, pawb.fun, and pawb.social) to provide feedback and suggestions.
List of compatible types is way more than that, according to the Windows-specific upload dialog -- includes eyebrow-raisers like BMP, Windows Icon format, XCF (GIMP iirc), HEIC (x265 has a static image implementation?), Adobe Illustrator files, among others.
If none of those are an option on lemmy.world or other instances, guess that at least proves that Pawb's fork of the Lemmy code can accept other formats.
Big caveat to start, I'm not an application programmer. I don't know how the web browser communicates with the operating system for the open dialog. Its possible those types are supported, or its possible the browser just tells windows, Open up a file selector and valid file types are images and videos. What those file types are is left up to the operating system.
For a quick search, I'm not sure either firefox or chrome support jxl.
AVIF has >90% compat., especially for most-recent versions of browsers. JXL is waaay less supported, but can be enabled with config switches in both FF & Chrome (and it just works by default in Safari).
Again, inclusion of software-specific image formats like .AI and .XCF implies someone added those arbitrarily in Pawb/Lemmy code. Hoping that @Crashdoom et al. can chime in -- if they're not busy, obviously; AVIF compat. is a minor nitpick compared to the recent backend & downtime issues