<commit_before># stakx.WIC

A COM interop library for .NET that makes Windows Imaging Component (WIC) available to managed code.

## 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."_
> &mdash; from the [Wikipedia article](wikipedia)

 [wikipedia]: https://en.wikipedia.org/wiki/Windows_Imaging_Component

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)

## Why would you want to use stakx.WIC?

I originally started this project because I needed a library to do some fairly simple image processing…
inside an ASP.NET web application. And it is this last bit that introduces a few problems.
The .NET Framework does not come with any image processing functionality that is officially supported in server-side code:<commit_msg>Add NuGet version badge to `README.md`<commit_after># stakx.WIC

A COM interop library for .NET that makes Windows Imaging Component (WIC) available to managed code.

[![NuGet](https://img.shields.io/nuget/v/stakx.WIC.svg?style=flat-square)](https://www.nuget.org/packages/stakx.WIC/)

## 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."_
> &mdash; from the [Wikipedia article](wikipedia)

 [wikipedia]: https://en.wikipedia.org/wiki/Windows_Imaging_Component

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)

## Why would you want to use stakx.WIC?

I originally started this project because I needed a library to do some fairly simple image processing…
inside an ASP.NET web application. And it is this last bit that introduces a few problems.
The .NET Framework does not come with any image processing functionality that is officially supported in server-side code:
{'fraction_non_alphanumeric': 0.06716417910447761, 'fraction_numerical': 0.0014925373134328358, 'mean_word_length': 4.9445676274944566, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3032054', 'n_tokens_mistral': 714, 'n_tokens_neox': 657, 'n_words': 355}