问题描述:

I am trying to use the aafigure package in order to render some ASCII diagrams. When I try to test with the command aafigure sequence.txt -t=png I get the following errors :

WARNING: font not found, using PIL default font

ERROR: Can't output format '=png': PIL doesn't support image format '=png'

It looks like this error is due to an unrecognised font by PILlibrary. It would be fixed if the error message generates the missing font which in my case (MacOS) is not showing up.

网友答案:

try use

aafigure sequence.txt -t png -o test.png

reference

https://pythonhosted.org/aafigure/manual.html#usage

相关阅读:
Top