Rendering of jpg/png images on an Excel Sheet using the individual cells of the sheet as pixels. It loads the target image file into memory, reads the color values of each pixel into a numpy array and then it fills the cells of the excel sheet corresponding to the indexes of numpy array.
Clone the repo and install the required dependencies (virtual environment is recommended) by running pip install -r requirements.txt
. Then open the Configuration.py and edit the Paths to input and output files before running Renderer.py.
To adjust cell sizes, do ctrl+A
and press format cells button from tool bar. A row height of 0.8 and column length value of 0.2 sets the cells size as 1x1 pixels.