/uncompressed-discord-images

Discord's solution to previewing images is awful so by changing 'media.discordapp.net' links to 'cdn.discordapp.com' links, we will no longer have blurry images (especially with JPEG 1, WebP, & other lossy formats).

Primary LanguageJavaScriptBoost Software License 1.0BSL-1.0

Uncompressed Discord Images Fix:

Discord's solution to previewing images is awful so by changing 'media.discordapp.net' links to 'cdn.discordapp.com' links, we will no longer have blurry images (especially with JPEG, WebP and other lossy formats).

Another feature of this plugin is that it makes animated PNGs uploaded to the Discord server playable within the client.
Discord has broken APNG support completely when they addressed the 'aCropalypse' vulnerbility.

This is compatible with BetterDiscord as a plugin and/or can be executed in the console of the client/browser.

Download from GitHub Download the latest version Use the console version


Comparisons:

Image format: Before fix: After fix:
PNG PNGComparisonLQ1 PNGComparisonHQ1
JPEG JPGComparisonLQ1 JPGComparisonHQ1
JPEG JPGComparisonLQ2 JPGComparisonHQ2
WebP WebPComparisonLQ1 WebPComparisonHQ1
WebP WebPComparisonLQ2 WebPComparisonHQ2
WebP WebPComparisonLQ3 WebPComparisonHQ3

To see the best comparison, open a before/after in a new tab and flip between the two (they are lined up for you).


Final Comments:

Something to note with these comparisons is that unless open the image in a browser, you will never see the original, uncompressed image; it is always a lightly or heavily compressed (depends on the format) version of the original.

This means that if you click on the image, even though the quality is a bit better, it is still compressed and not what the person sent, this is most prevelant with JPEG and WebP-- hence the examples provided.


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/