/local-host

code repository for generating pixelated images of `k` colors, from a given image file.

Primary LanguageC++MIT LicenseMIT

local-host

code repository for generating pixelated images of k colors, from a given image file.

To generate the pixelated color value for the files, follow the steps :

  1. Set the value of k to the desired value in main.py file
  2. Set the input path for the desired image in the main.py file
  3. Run the python script, to generate excel sheet for rgb values
  4. store the image rows ( number of pixels, counted rowwise ), in the global variable in main.cpp file.
  5. Run the cpp file, to generate the pixelated excel sheet, amd the color coding file color.csv.