MmImageLoading 0.7.6
dotnet add package MmImageLoading --version 0.7.6
NuGet\Install-Package MmImageLoading -Version 0.7.6
<PackageReference Include="MmImageLoading" Version="0.7.6" />
paket add MmImageLoading --version 0.7.6
#r "nuget: MmImageLoading, 0.7.6"
// Install MmImageLoading as a Cake Addin #addin nuget:?package=MmImageLoading&version=0.7.6 // Install MmImageLoading as a Cake Tool #tool nuget:?package=MmImageLoading&version=0.7.6
MmImageLoading
MmImageLoading - Mad Maui Image Loading
Library to load images quickly & easily on Maui.
This Library enables fast loading and rendering of Animations and Images. This project is based on the the famous FFImageLoading, so it is standing on the shoulder of a Giant.
<p align="center"> <img src="./Resources/mSoSoG.jpeg" height="150"> </p>
Working at this point
OS | iOS | Android | Mac | Windows | Tizen |
---|---|---|---|---|---|
lib | ✅ | ✅ | TBD | TBD | TBD |
nuget | ✅ | ✅ | TBD | TBD | TBD |
current tested Features:
- Configurable disk and memory caching
- Multiple image views using the same image source (url, - path, resource) will use only one bitmap which is cached in memory (less memory usage)
- Deduplication of similar download/load requests. (If 100 similar requests arrive at same time then one real loading will be performed while 99 others will wait).
- Error and loading placeholders support
- Images can be automatically downsampled to specified size (less memory usage)
- Fluent API which is inspired by Picasso naming SVG / WebP / GIF support
- Image loading Fade-In animations support
- Can retry image downloads (RetryCount, RetryDelay)
- Android bitmap optimization. Saves 50% of memory by trying not to use transparency channel when possible.
Community
- Support: We are looking for help to cary this on. So please if you can help us with PRs.
install
via nuget
enable
add the following line to your csproj file to when you need local gifs to avoid issues with resitizer
<MauiImage Update="Resources\Images\*.gif" Resize="False" />
add the following to your MauiProgram.cs: (see sample project)
using de.level28.MmImageLoading;
...
#if (ANDROID || IOS)
.UseMmImageLoading()
#endif
...
for how to use see sample code or the orignal documentation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- SkiaSharp.Views.Maui.Controls (>= 2.88.3)
- SkiaSharp.Views.Maui.Core (>= 2.88.3)
-
net7.0-android33.0
- SkiaSharp.Views.Maui.Controls (>= 2.88.3)
- SkiaSharp.Views.Maui.Core (>= 2.88.3)
-
net7.0-ios16.1
- SkiaSharp.Views.Maui.Controls (>= 2.88.3)
- SkiaSharp.Views.Maui.Core (>= 2.88.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
maui, android, ios, image, cache, caching, memory, bitmap, gif, load, loading, save, photo