https://github.com/mathieumack/pixelformatsconverter
Allow a convertion from enum System.Drawing.Imaging.PixelFormat to System.Windows.Media.PixelFormats and inversion.
https://github.com/mathieumack/pixelformatsconverter
Last synced: 10 months ago
JSON representation
Allow a convertion from enum System.Drawing.Imaging.PixelFormat to System.Windows.Media.PixelFormats and inversion.
- Host: GitHub
- URL: https://github.com/mathieumack/pixelformatsconverter
- Owner: mathieumack
- License: mit
- Created: 2016-07-26T21:31:26.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T20:04:13.000Z (almost 3 years ago)
- Last Synced: 2025-08-16T01:33:55.547Z (11 months ago)
- Language: C#
- Size: 276 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## PixelFormatsConverter
Convert from System.Drawing.Imaging.PixelFormat to System.Windows.Media.PixelFormat (or System.Windows.Media.PixelFormat or System.Drawing.Imaging.PixelFormat)
# IC
[](https://nuget.org/packages/PixelFormatsConverter)
### How to use it ?
An extension method named 'Convert' do the job. Just call the Convert() method from a System.Drawing.Imaging.PixelFormat or a System.Windows.Media.PixelFormat item.
```c#
using PixelFormatsConverter;
...
myItem.Convert();
...
```
Enjoy !
# Support / Contribute
If you have any questions, problems or suggestions, create an issue or fork the project and create a Pull Request.
You want more ? Feel free to create an issue or contribute by adding new functionnalities by forking the project and create a pull request.
And if y like this project, don't forget to star it !
You can also support me with a coffee :
[](https://www.buymeacoffee.com/mathieumack)