Skip to content

Embeds images that Discord can but won't support for whatever reason.

License

Notifications You must be signed in to change notification settings

Knewest/embed-more-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Locally Embed More Images Fix:

Take your Discord image-viewing experience to another level with the Embed More Images plugin. By automatically detecting and embedding a wider range of image formats this plugin dramatically enhances the user experience for the regular person and especially for developers.

IMPORTANT: Files will only embed locally. Users without the plugin will not see the preview.

Showcasing Embed More Images
The GFX in this example is by me (Knew). You can get the source here.

Download from GitHub Download the latest version
This plugin is compatible with BetterDiscord only. I do not plan to make a console friendly version.

Discord Format Compatibility Chart:

Here is a table listing all the image formats Discord currently supports and that the Embed More Images plugin enhances or adds support for:

Image Codec: Supported Extensions by Discord: Support with Embed More Images: Notes:
PNG *.png *.png Nothing noteworthy.
JPEG 1 *.jpg, *.jpeg *.jpg, *.jpeg, *.jpe, *.jfif, *.jif, *.jfi Discord can but will not support these very common extentions of JPEG 1.
I don't know why.
WebP *.webp *.webp Although Discord will embed WebP, they will only embed static WebP-- for whatever reason, Discord can but won't support sequenced WebP. My guess is their concern for CPU usage.
Regardless, Embed More Images will embed sequenced WebP.
APNG None. *.apng, *.png Discord used to embed the first frame of APNG files in a *.png extention without stripping all APNG data, but Discord completely disabled and broke APNG support when they addressed the infamous 'aCropalypse' vulnerbility.
Embed More Images will embed these formats, but with limited functionality because of Discord.
Learn more: https://en.wikipedia.org/wiki/ACropalypse
BMP None. *.bmp, *.dib, *.rle Discord can but will not support this format.
I don't know why.
ICO None. *.ico Discord can but will not support this format. It's based off of BMP.
CUR None. *.cur Discord can but will not support this format. It's based off of BMP.
AVIF None. *.avif Discord can but will not support this format, including the sequenced variant.
I don't know why.
JPEG XL None. None. Because Discord runs on Electron - which is Chromium based - we unfortunately lack JPEG XL support because Google backed out in supporting JPEG XL.
Learn more: https://bugs.chromium.org/p/chromium/issues/detail?id=1178058#c406
SVG None. *.svg Discord can but doesn't support the embedding of SVG, most likely due to believed security risks. SVG support will be added in a future version on this plugin as an option.
HEIF None. None. Currently, if you attempt to post a *.heic on mobile, it will be automatically converted to a JPEG 1 in a *.jpg container. HEIF is not supported at all.

Final Comments:

I hope I can deprecate this plugin one day, but I have a feeling it will be a very long time till Discord decides to support these formats.


Help:

Need help? Join the support server (NqqqzajfK4).


Simplifying BetterDiscord:

For a guide on making BetterDiscord easier to install and use, check out this link: https://gist.github.com/Knewest/ee59d3960e18e6d813c9221b54b36ab1
If you find this challenging, please follow the regular installation procedure: https://betterdiscord.app/

About

Embeds images that Discord can but won't support for whatever reason.

Resources

License

Stars

Watchers

Forks

Packages

No packages published