diff --git a/DiscordChatExporter.Core/Discord/Data/User.cs b/DiscordChatExporter.Core/Discord/Data/User.cs index 968fae5..e136cbf 100644 --- a/DiscordChatExporter.Core/Discord/Data/User.cs +++ b/DiscordChatExporter.Core/Discord/Data/User.cs @@ -30,7 +30,7 @@ public partial record User ? "gif" : "png"; - return $"https://cdn.discordapp.com/avatars/{id}/{avatarHash}.{extension}?size=128"; + return $"https://cdn.discordapp.com/avatars/{id}/{avatarHash}.{extension}?size=512"; } public static User Parse(JsonElement json) @@ -47,4 +47,4 @@ public partial record User return new User(id, isBot, discriminator, name, avatarUrl); } -} \ No newline at end of file +} diff --git a/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml b/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml index 96fb419..b3abb2a 100644 --- a/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml @@ -302,6 +302,7 @@ border-radius: 50%; width: 40px; height: 40px; + image-rendering: high-quality; } .chatlog__messages { @@ -777,4 +778,4 @@ @{/* Preamble cuts off at this point */} -
\ No newline at end of file +