Gif upload with ImagePicker?

I’m noticing that when I upload an image from my phone using ImagePicker it seems to go directly to .jpg

Is there a way to keep the file extension for the image if it is a .gif? I haven’t tested if .png works. Would be great to know