Convert CSV to image (+ flexible size settings)
Task: Convert files in CSV format into images for further display on the public facility screen. Table screenshots in Excel and multiple photos are not accepted.
Solution: using the CSV library collected all the data from the table to the list, and then determined the size of the list itself (the number of lines) and the size of the larger sublist (the number of columns). With the help of the library, Pillow scratched the table and through simple manipulations, distributed the numbers from the list to the cell.
Feature of work: Due to the lack of ready libraries to convert the table into a picture (not counting the ready APIs), this project can be called a small contribution to the open source language.
Solution: using the CSV library collected all the data from the table to the list, and then determined the size of the list itself (the number of lines) and the size of the larger sublist (the number of columns). With the help of the library, Pillow scratched the table and through simple manipulations, distributed the numbers from the list to the cell.
Feature of work: Due to the lack of ready libraries to convert the table into a picture (not counting the ready APIs), this project can be called a small contribution to the open source language.