JosephAntolick.EZCompress1.Plugin
1.0.0
Requires NuGet 2.8.1 or higher.
dotnet add package JosephAntolick.EZCompress1.Plugin --version 1.0.0
NuGet\Install-Package JosephAntolick.EZCompress1.Plugin -Version 1.0.0
<PackageReference Include="JosephAntolick.EZCompress1.Plugin" Version="1.0.0" />
paket add JosephAntolick.EZCompress1.Plugin --version 1.0.0
#r "nuget: JosephAntolick.EZCompress1.Plugin, 1.0.0"
// Install JosephAntolick.EZCompress1.Plugin as a Cake Addin
#addin nuget:?package=JosephAntolick.EZCompress1.Plugin&version=1.0.0
// Install JosephAntolick.EZCompress1.Plugin as a Cake Tool
#tool nuget:?package=JosephAntolick.EZCompress1.Plugin&version=1.0.0
A straightforward plugin for Xamarin which provides easy compression for image streams. Compression from 1 to 100% available. Returns a compressed MemoryStream in JPEG format, which can then be saved or displayed. Great for Xamarin Forms!
Simply install the plugin and call the EZcompress class method with the original image stream, and an integer to choose 1-100% quality.
Example:
EZCompress1.Plugin.CrossEZCompress1.Current.compressImage(_stream, 50);
The above will compress a valid image stream (_stream in the example) with 50% compression, and return the new image as a MemoryStream.
Integers below 1 or above 100 will return an error.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid10 is compatible. |
MonoTouch | monotouch10 is compatible. |
Xamarin.iOS | xamarinios10 is compatible. |
This package has no dependencies.
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 |
---|---|---|
1.0.0 | 5,915 | 12/30/2014 |
The initial release.