Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.4 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.4 KB

PILSharp

PILSharp gives Xamarin developers high-performance image processing cross-platform APIs for their mobile applications.

Installation

  • NuGet Official Releases: NuGet

Supported Platforms

PILSharp is focused on the following platforms:

  • iOS (10+)
  • Android (4.4+)

Current APIs:

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.)

Building PILSharp

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:

Workloads need:

  • Xamarin
  • .NET Core

You will need the following SDKs

  • 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

License

Distributed with the MIT license.