Skip to content

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 and WebP). [A fork of Knew's Uncompressed Discord Images Plugin, for Enmity on the IOS Platform.]

License

Notifications You must be signed in to change notification settings

tivvo/uncompressed-discord-images-for-ios

 
 

Repository files navigation

Notice!

This is a fork of Knew's Uncompressed Discord Images Fix, for Enmity (https://github.com/enmity-mod/enmity) for IOS Devices, this is a rough port created by me, inexperienced so don't really expect much.

The orignal readme file is as follows, and will be untouched.

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/

About

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 and WebP). [A fork of Knew's Uncompressed Discord Images Plugin, for Enmity on the IOS Platform.]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%