WIC.DotNet 2.0.0

dotnet add package WIC.DotNet --version 2.0.0                
NuGet\Install-Package WIC.DotNet -Version 2.0.0                
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="WIC.DotNet" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WIC.DotNet --version 2.0.0                
#r "nuget: WIC.DotNet, 2.0.0"                
#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 WIC.DotNet as a Cake Addin
#addin nuget:?package=WIC.DotNet&version=2.0.0

// Install WIC.DotNet as a Cake Tool
#tool nuget:?package=WIC.DotNet&version=2.0.0                

WIC for .NET

A .NET library that makes the Windows Imaging Component (WIC) available to managed code. The library provides a thin layer of abstractions and extension methods to make it easier to work with the raw WIC interface.

Version 1.x of the library targets .NET Standard 2.0, so it can be used in .NET Framework and UWP (.NET Native) apps. Version 2.x targets .NET 8.0 and can be used in trimming and Native AOT scenarios.

What is the Windows Imaging Component (WIC)?

"The Windows Imaging Component (WIC) is a Component Object Model based imaging codec framework introduced in Windows Vista (…) for working with and processing digital images and image metadata." — from the Wikipedia article

Windows Imaging Component allows you to accomplish tasks such as:

  • decoding and encoding bitmap images or single bitmap image frames in various formats (GIF, ICO, JPEG, PNG, TIFF, and more)
  • reading and writing image metadata
  • converting bitmaps to different pixel formats (bit depth, channels)
  • transforming bitmaps (clip, flip horizontally or vertically, rotate by 90° angles, scale)

How do you get started?

  1. Familiarize yourself with the WIC, if you don't know it yet. See e.g. the Windows Imaging Component documentation on MSDN.

  2. Add the NuGet package WIC.DotNet to your project.

  3. In your code, start by instantiating a WICImagingFactory object. For Version 1.x use: new WICImagingFactory() For Version 2.x use: WICImagingFactory.Create() Most other WIC components can be created directly or indirectly through this factory object.

Is there any example code?

You can find some samples on GitHub in the Samples directory and you can also refer to the the WIC samples on MSDN.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WIC.DotNet:

Package Downloads
MetadataAPI

Bitmap Metadata API for .NET using the Windows Imaging Component (WIC)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 109 10/4/2024
2.0.0-beta1 87 9/26/2024
1.3.2 127 9/26/2024
1.3.1 385 8/6/2023
1.3.0 168 7/6/2023
1.2.0 788 11/1/2021
1.1.1 1,510 8/14/2020
1.0.0 455 4/15/2020
1.0.0-beta.3 337 2/17/2020
1.0.0-beta.2 283 2/14/2020
1.0.0-beta 322 2/14/2020