RonKon
RonKon

Reputation: 163

Python Discord Embedded Message Thumbnail Not Showing .jfif Images

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?

Upvotes: 0

Views: 514

Answers (1)

user18478673
user18478673

Reputation: 182

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')

Upvotes: 1

Related Questions