You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,18 @@ For these reasons, it is _not_ recommended to instantiate your own models.
190
190
191
191
## Other Functionalities
192
192
193
+
### PIL
194
+
195
+
The `tivars.PIL` package can be used to interface with PIL, the Python Imaging Library. Simply import the package to register codecs for each of the TI image types. You can then open such images directly into a PIL `Image`:
196
+
197
+
```python
198
+
fromPILimport Image
199
+
from tivars.PILimport*
200
+
201
+
img = Image.open("Pic1.8ci")
202
+
img.show()
203
+
```
204
+
193
205
### Tokenization
194
206
195
207
Functions to decode and encode strings into tokens can be found in `tivars.tokenizer`. Support currently exists for all models in the 82/83/84 series as well as the TI-73; PR's concerning the sheets themselves should be directed upstream to [TI-Toolkit/tokens](https://github.com/TI-Toolkit/tokens).
0 commit comments