PILSharp gives Xamarin developers high-performance image processing cross-platform APIs for their mobile applications.
PILSharp is focused on the following platforms:
- iOS (10+)
- Android (4.4+)
The following cross-platform APIs are available in PILSharp:
- Crop (Remove border from image.)
- Equalize (Equalize the image histogram.)
- Expand (Add border to the image.)
- Fit (Returns a sized version of the image.)
PILSharp is built with the new SDK style projects with multi-targeting enabled.
If building on Visual Studio 2017 you will need the following SDKs and workloads installed:
- Xamarin
- .NET Core
- Android 7.1, 8.0, 8.1 SDK Installed
If using Visual Studio for Mac the project can be built at the command line with MSBuild. To build through the command line, navigate to where PILSharp.csproj exists then run:
dotnet restore
msbuild /p:Configuration=Debug PILSharp.csproj
dotnet restore
msbuild /t:Pack /p:PackageVersion=major.minor.build /p:PackageOutputPath="$HOME/Projects/packages" /p:Configuration=Release PILSharp.csproj
Distributed with the MIT license.