I have not tested if it was an after I did
pip install image or brew install image
Also, for mac the way that you can get this to work in prusa slicer (WORK MEANING TO ALLOW THE POST PROCESSING to work without giving an error)
This was by doing
python3 [fileNameAndPathWithTheFolderPathNotIncludingTheFileEndingIn.py]
I was able to make this work by adding IMPORT PIL. There was an error that it could not find an answer to do even referencing this one https://stackoverflow.com/questions/8863917/importerror-no-module-named-pil. ( I am on MACOS)
I have not tested if it was an after I did pip install image or brew install image
Also, for mac the way that you can get this to work in prusa slicer (WORK MEANING TO ALLOW THE POST PROCESSING to work without giving an error) This was by doing python3 [fileNameAndPathWithTheFolderPathNotIncludingTheFileEndingIn.py]