Names | Roll Number |
---|---|
Shubhanshu Agrawal | IMT2020078 |
Rudransh Dixit | IMT2020056 |
Chinthan Chandra | IMT2020109 |
Tarun Kumar Gupta | IMT2020061 |
Anmol Shetty | IMT2020551 |
Gousepeer Arella | IMT2020042 |
We had initially gathered our crude ideas on how the C Project would look like. Starting with the RGB color scheme and how to convert the individual pixels to their respective grayscale values. We learnt that a byte is needed to store color values and 3 bytes used together yields a colored pixel. Next we learnt about the bmp file format. It consisted of headers which held relevant data and also learnt how to read and write the data to buffers.
We had divided our work as follows-
-
Shubhanshu has helped our team with the reading part of our code. Essentially the read part simply copies our bmp data onto a buffer which we have defined based on the file format.
-
Chinthan has helped us with the main.c file and the relevant struct declarations.
-
Gousepeer helped us with make file
-
Rudransh has helped us with the writing part which essentially writes our modified 8bit bmp file onto a new user defined buffer.
- Tarun and Anmol have done the conversion part wherein the individual pixel data is modified as per the requirements and functions.h file