luma.emulator icon indicating copy to clipboard operation
luma.emulator copied to clipboard

Provides a series of pseudo-display devices which allow the luma.core components to be used without running a physical device.

Results 6 luma.emulator issues
Sort by recently updated
recently updated
newest added

any matplotlib graph -> pil -> display

enhancement

to deal with `pygame.error: File is not a Windows BMP file` referenced in https://github.com/rm-hull/luma.examples/issues/152

Currently the base `emulator` class imports pygame and all other subclasses thus use pygame as well. It would be nice to add different emulators, eg. a PyQt5 one, meaning the...

enhancement

Mocks many aspects of curses, but as yet does not assert anything. Do not merge yet Fixes #27

https://coveralls.io/builds/14034187/source?filename=luma%2Femulator%2Fdevice.py

tests

This accounts for two interface removals in Pillow 10: [Font size and offset methods](https://pillow.readthedocs.io/en/stable/deprecations.html#font-size-and-offset-methods). `PIL.ImageFont.ImageFont.getsize` was deprecated in [Pillow 3c0b8763abb2](https://github.com/python-pillow/Pillow/commit/3c0b8763abb26232bf304a5cdf2b046d5f7e443e) (9.2.0, 2022-07-01) and removed in [Pillow b2301d70d104](https://github.com/python-pillow/Pillow/commit/b2301d70d104f36a08ae658f569d02f7796fc8fa) (10.0.0, 2023-07-01). `PIL.ImageFont.ImageFont.getbbox`,...