Merge pull request #14 from Youssef1313/dev/youssef/exif-orientation

fix: Consider exif orientation
This commit is contained in:
Jérôme Laban 2024-06-25 09:22:57 -04:00 коммит произвёл GitHub
Родитель 70d7841c78 45a5b0b2b3
Коммит 4f81a96b29
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -16,7 +16,7 @@ using Bitmap = Android.Graphics.Bitmap;
namespace Com.Nostra13.Universalimageloader.Core
{
public partial class ImageLoader
public partial class ImageLoader
{
public Task<Bitmap> LoadImageAsync(CancellationToken ct, string uri, ImageView imageView, Size? targetSize = null)
{
@ -96,6 +96,7 @@ namespace Com.Nostra13.Universalimageloader.Core
options = options ?? new DisplayImageOptions.Builder()
.CacheInMemory(true)
.CacheOnDisk(true)
.ConsiderExifParams(true)
.Build();
// Propagate cancellation to the managed TCS, even though we don't propagate it to Universal Image Loader. This is because UIL has

7
global.json Normal file
Просмотреть файл

@ -0,0 +1,7 @@
{
"sdk": {
// Workaround CI error NETSDK1202: The workload 'net6.0-android' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/maui-support-policy for more information about the support policy. [D:\a\1\s\UniversalImageLoader.csproj::TargetFramework=net6.0-android]
// We should upgrade at least the .NET SDK, but maybe the TFMs as well.
"version": "6.0.300"
}
}