Python Discord Embedded Message Thumbnail Not Showing .jfif Images

482 Views Asked by At

I have a bot that sends embedded messages with thumbnails, but I noticed that .jfif images thumbnails are not being shown.

My question is does Discord support .jfif images on embedded messages thumbnails?

1

There are 1 best solutions below

2
On

The only images Discord supports are .png, .jpg, .jpeg.

If it's a local image file, you can try using PIL

The code below might help.

from PIL import Image
  
img_png = Image.open('test.jfif')
  
img_png.save('test.png')