jay3332 / pilmoji

Pilmoji is a fast and reliable emoji renderer for PIL.
MIT License
77 stars 28 forks source link

How to enable caching? #9

Closed hendrikschneider closed 2 years ago

hendrikschneider commented 2 years ago

In your documentation is stated that optional caching is possible. How can I enable it and how is the data be cached?

jay3332 commented 2 years ago

Caching is on by default. You may explicitly enable/disable via the cache kwarg in the Pilmoji constructor, i.e. Pilmoji(cache=True)