The GrayScale class provides functionality to convert a color image to grayscale using the luminosity method. The luminosity method calculates the grayscale value by applying specific weights to the red, green, and blue components of each pixel.
- Specify the input and output file paths.
- Run the main method to perform the conversion.