This code was written in C# using Microsoft Visual Studio. The project is a code that can be used to open an image and get the necessary information from it. You can use this code and make any changes on it.
Download it here
Code 2: Image Modes. C#
This code is written in C#, the code includes functions to open an image, analyse it to its bands, and convert among various modes. Supports RGB, HSV, XYZ, and LU*V modes.