Get normal version of image instead of thumbnails for WebP

This commit is contained in:
trawzified 2023-12-29 00:19:08 +01:00
parent fb47b2aa06
commit 8275c71e43
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,9 @@
### Changelog
### Version - 4.0.0.0
* The entire user interface has been reworked.
* Modlists with WebP images now load correctly on Windows installations without the WebP image extensions
* The search functionality has been improved to better show relevant searches on list titles
#### Version - 3.3.1.0 - TBA
* Fixed `--outputPath` not being used for the CLI `compile` (thanks to @majcosta for fixing that)
* Improved Log message for cases where low storage on the drive Wabbajack is installed on causes compiles to fail

View File

@ -150,7 +150,7 @@ namespace Wabbajack
if (memStream == null) return default;
try
{
return url.EndsWith("webp", StringComparison.InvariantCultureIgnoreCase) ? BitmapImageFromWebp(memStream.ToArray(), true) : BitmapImageFromStream(memStream);
return url.EndsWith("webp", StringComparison.InvariantCultureIgnoreCase) ? BitmapImageFromWebp(memStream.ToArray()) : BitmapImageFromStream(memStream);
}
catch (Exception ex)
{

View File

@ -102,7 +102,6 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Imazen.WebP" Version="10.0.1" />
<PackageReference Include="MahApps.Metro" Version="2.4.10" />
<PackageReference Include="MahApps.Metro.IconPacks" Version="4.11.0" />
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.5" />