XDev.Maui.ManualCrop
0.0.1-alpha005
See the version list below for details.
dotnet add package XDev.Maui.ManualCrop --version 0.0.1-alpha005
NuGet\Install-Package XDev.Maui.ManualCrop -Version 0.0.1-alpha005
<PackageReference Include="XDev.Maui.ManualCrop" Version="0.0.1-alpha005" />
paket add XDev.Maui.ManualCrop --version 0.0.1-alpha005
#r "nuget: XDev.Maui.ManualCrop, 0.0.1-alpha005"
// Install XDev.Maui.ManualCrop as a Cake Addin #addin nuget:?package=XDev.Maui.ManualCrop&version=0.0.1-alpha005&prerelease // Install XDev.Maui.ManualCrop as a Cake Tool #tool nuget:?package=XDev.Maui.ManualCrop&version=0.0.1-alpha005&prerelease
Maui.ManualCropApp
Contributions are welcome!
This is a very rough working draft for a portable image cropper control for Maui. Source: https://xdevapps.visualstudio.com/_git/XDev.Maui.ManualCrop
Reference code: https://github.com/dotnet/maui-samples/blob/main/8.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Pages/CropPhotoPage.xaml.cs
MS provided sample above is refactored into a lib for use in any Maui app.
If the common image cropping libs out there that only support Android/iOS with lots of native dependencies work for you, then you can still use them, but this lib is smaller/lighter and less complicated to maintain and consume.
Screen-Shots
- More options coming soon, submit contributions!
Supported platforms
All Maui platforms
* Android
* iOS
* Windows
* Mac
some possible useful refs https://github.com/mono/SkiaSharp/issues/804 https://github.com/HeikkiDev/XFManualCropControl/blob/master/XFManualCropApp/XFManualCropApp/Controls/ManualCropView.cs
How to test iOS:
- use iOS sim (easiest, use ctrl-click to test pinch/gestures)
- on an iphone: update info.plist file in test app using your own wildcard or other dev-provisioning profile:
<key>CFBundleIdentifier</key>
<string>com.[your-provisioning-profile-here].maui.manualcropapp</string>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios18.0 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst18.0 is compatible. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows10.0.19041 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
- SkiaSharp.Views.Maui.Controls (>= 2.88.8)
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
- SkiaSharp.Views.Maui.Controls (>= 2.88.8)
-
net8.0-ios18.0
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
- SkiaSharp.Views.Maui.Controls (>= 2.88.8)
-
net8.0-maccatalyst18.0
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
- SkiaSharp.Views.Maui.Controls (>= 2.88.8)
-
net8.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
- SkiaSharp.Views.Maui.Controls (>= 2.88.8)
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.0.1-alpha007 | 0 | 1/30/2025 |
0.0.1-alpha006 | 11 | 1/30/2025 |
0.0.1-alpha005 | 12 | 1/30/2025 |
0.0.1-alpha004 | 7 | 1/29/2025 |
0.0.1-alpha003 | 32 | 1/28/2025 |
0.0.1-alpha002 | 27 | 1/27/2025 |
initial release