Librame.Extensions.Drawing.SkiaSharp 7.0.898.201

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Librame.Extensions.Drawing.SkiaSharp --version 7.0.898.201
NuGet\Install-Package Librame.Extensions.Drawing.SkiaSharp -Version 7.0.898.201
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Librame.Extensions.Drawing.SkiaSharp" Version="7.0.898.201" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Librame.Extensions.Drawing.SkiaSharp --version 7.0.898.201
#r "nuget: Librame.Extensions.Drawing.SkiaSharp, 7.0.898.201"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Librame.Extensions.Drawing.SkiaSharp as a Cake Addin
#addin nuget:?package=Librame.Extensions.Drawing.SkiaSharp&version=7.0.898.201

// Install Librame.Extensions.Drawing.SkiaSharp as a Cake Tool
#tool nuget:?package=Librame.Extensions.Drawing.SkiaSharp&version=7.0.898.201

Librame.Extensions.Drawing.SkiaSharp

Install Extension

PM> Install-Package Librame.Extensions.Drawing.SkiaSharp

Register Extension

services.AddLibrame()
    .AddDrawing(dependency =>
    {
        dependency.BaseDirectory = ResourcesPath;
    });

Test Extension

// Captcha
var captchaService = serviceProvider.GetRequiredService<ICaptchaService>();
var buffer = await captchaService.DrawBytesAsync("1234");
Assert.NotNull(buffer);

var saveFile = "captcha.png".AsFilePathCombiner("SavePath");
var result = await captchaService.DrawFileAsync("1234", saveFile);
Assert.True(result);
// Librame.Extensions.Drawing.Tests.CaptchaServiceTests

// Scale
var scaleService = serviceProvider.GetRequiredService<IScaleService>();
var imageFile = "test.jpg".AsFilePathCombiner("ImagePath");
var result = scaleService.DrawFile(imageFile);
Assert.True(result);

var count = await scaleService.DrawFilesByDirectoryAsync("FolderPath");
Assert.True(count > 0);
// Librame.Extensions.Drawing.Tests.ScaleServiceTests

// Watermark
var watermarkService = serviceProvider.GetRequiredService<IWatermarkService>();
var imageFile = "test.jpg".AsFilePathCombiner("ImagePath");
var saveFile = imageFile.NewFileName("test-watermark.png");
var result = await watermarkService.DrawFileAsync(imageFile, saveFile);
Assert.True(result);
// Librame.Extensions.Drawing.Tests.WatermarkServiceTests
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
7.7.1.1 519 8/20/2020
7.7.1 433 8/14/2020
7.7.0.1 430 7/27/2020
7.6.0.1 478 6/11/2020
7.5.0.8 429 6/1/2020
7.5.0.6 445 5/21/2020

Based Librame.Extensions.Drawing.Abstractions on SkiaSharp extension implementation.