Files
S4-P3-Projet/main.py
Marc-Antoine Lafreniere fffc76ce2e #19 - Reformat pbm file
Convert pbm file to csv with right height and width
2019-01-23 14:13:55 -05:00

6 lines
228 B
Python

from utils.pbmformator import formatPbm
from utils.savetofile import matrixToFile
if __name__ == "__main__":
# Usage example
matrixToFile(formatPbm('resources/original/test1ascii.pbm'), 'resources/reformatted/test1.csv')