I have a jpeg which is of 50KB. I used ImageMagick to convert it from jpeg to avif
magick.exe tevaram.jpeg tevaram.avif
But I get You can’t upload files of this type.

My event.yaml file :
fields:
image:
label: Event Image
type: fileupload
mode: image
imageWidth: 1200
imageHeight: 800
thumbOptions:
mode: crop
width: 300
height: 200
comment: Optional - event poster or image
How do I get mode: image to accept AVIF image formats ? Its supported by all browsers now - since 2 years I believe.