The error seems to be being reported offSo my guess is that font_path is causing OSError: cannot open resource which means it does not point to PixelOperator.ttf
Set a debug break and see what font_path is.
Code:
font2 = ImageFont.truetype(font_path, 16)
Set a debug break and see what font_path is.
Statistics: Posted by DS256 — Sun May 05, 2024 7:11 pm