0

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?

RonKon
  • 133
  • 8

1 Answers1

1

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')
user18478673
  • 182
  • 1
  • 6
  • Thanks for the answer. The image is not local, and its type is not under my control... At least I know that it's Discord that is not supporting .jfif and it's not some other problem. – RonKon Apr 01 '22 at 16:17
  • There might be a way where you can save the attachment as .jfif, and save it as a png. You should open a question about it, I could try. – user18478673 Apr 02 '22 at 01:37