Webp output using Nginx processing

Hi,

Is there a plugin or a trick so that when using “processed by Nginx” on an image we can take advantage of the lighter “webp” format (including alpha transparency)? “PNG” is a bit outdated in 2025. Thank you!