MmImageLoading 0.7.6

dotnet add package MmImageLoading --version 0.7.6                
NuGet\Install-Package MmImageLoading -Version 0.7.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MmImageLoading" Version="0.7.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MmImageLoading --version 0.7.6                
#r "nuget: MmImageLoading, 0.7.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.6 6,052 4/7/2023
0.7.5 216 4/7/2023
0.7.1 271 4/2/2023

maui, android, ios, image, cache, caching, memory, bitmap, gif, load, loading, save, photo