Image Conversion

Hi!

I generally use .webp images in my web-projects and take .jpg as fallback.

It would be a great feature if you could request an image in a specific format eg.

fetch('/api/cockpit/image?token=xxtokenxx', {
    method: 'post',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
        src: imagePath || asset._id,
        t: webp
    })
})

Maybe even in multiple formats:

fetch('/api/cockpit/image?token=xxtokenxx', {
    method: 'post',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
        src: imagePath || asset._id,
        t: [webp, jpg]
    })
})

Greetings