NJpegTran 0.2.1
dotnet add package NJpegTran --version 0.2.1
NuGet\Install-Package NJpegTran -Version 0.2.1
<PackageReference Include="NJpegTran" Version="0.2.1" />
paket add NJpegTran --version 0.2.1
#r "nuget: NJpegTran, 0.2.1"
// Install NJpegTran as a Cake Addin #addin nuget:?package=NJpegTran&version=0.2.1 // Install NJpegTran as a Cake Tool #tool nuget:?package=NJpegTran&version=0.2.1
NJpegTran
A .Net library to wrap the functionality of jpegtran.
Motivation
To create a simple wrapper to allow .Net applications to easily use this program.
Using
- Install libjpeg-turbo-progs
- Add a package reference to NJpegTran in your project
- Bring down the packages for your project via
dotnet restore
Use it:
var opts = new Options {
Optimize = true,
Progressive = true,
Copy = Copy.None
};
var jt = new JpegTran(opts);
var result = await jt.RunAsync("src.jpg", "dst.jpg");
Contributing
I'm happy to accept pull requests. By submitting a pull request, you must be the original author of code, and must not be breaking any laws or contracts.
Otherwise, if you have comments, questions, or complaints, please file issues to this project on the github repo.
License
NJpegTran is licensed under the MIT license. See LICENSE.md for more information.
Reference
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- 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.