Package | Nuget |
---|---|
HN.Controls.ImageEx.Core | |
HN.Controls.ImageEx.Wpf | |
HN.Controls.ImageEx.Uwp |
An enhanced image for WPF and UWP.
WPF version for .net framework 4.6.2 and .net core 3.1
UWP version for 17763
The usage please see the demo project.
Due to there are some performance problems in SkiaSharp, the 2.x.x version will stop developing. You can use the 1.x.x version if you meet the performance problems. 3.x.x version is on the plan.
ImageEx | ImageBrushEx | |
---|---|---|
Disk Cache | ✔️ | ✔️ |
Placeholder | ✔️ | |
Loading Template | ✔️ | |
Failed Template | ✔️ | |
Retry | ✔️ | ✔️ |
Lazy Loading | ✔️ | |
CornerRadius | ✔️ | |
Shadow | ✔️ | |
Gif | ✔️ | |
Webp | ✔️ | |
Fade in animation | ✔️ |
ImageEx | ImageBrushEx | |
---|---|---|
Disk Cache | ✔️ | ✔️ |
Placeholder | ✔️ | |
Loading Template | ✔️ | |
Failed Template | ✔️ | |
Retry | ✔️ | ✔️ |
Lazy Loading | ✔️ | |
CornerRadius | ✔️ | |
Shadow | ✔️ | |
Gif | ✔️ | |
Webp | ✔️ | ✔️ |
Fade in animation | ✔️ |
- Update the lazy loading, support set the thresholds and give a default value. (Now is 300px)
- Built-in fade in animation while loaded image success. (Default duration is 0 second)
- Use
SkiaSharp
to resolve the image. -
CornerRadius
support. - Built-in shadow, same API for WPF and UWP.
- Gif animation controller, including
Play
,Pause
,GotoFrame
,RepeatBehavior
(use metadata or custom),SpeedRatio
. - Same API for WPF and UWP, such as
StretchDirection
(exist in WPF but not UWP),NineGrid
(exist in UWP but not WPF). - Add
IImageEx
interface forImageEx
. - Improve performance.
- Target .net 5.