6 Commits

Author SHA1 Message Date
Window-Hero
d292f2b9b4
Update pil util font height (#123512)
* Update pil.py

The default font size is far too small and will frequently be rendered completely unreadable by JPEG compression.  This is much more consistently readable, and properly specifies the font size in the draw.text function rather than relying on it being 8.

* Update pil.py

Converted to ruff format

* Update pil.py

Trying to get ruff formatting

* Update pil.py

fixed whitespace

* Update pil.py

removed trailing space
2024-09-15 10:31:56 +02:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
Marc Mueller
54cbc85c13
Add types-Pillow dependency (#98266) 2023-08-13 11:57:46 -05:00
Franck Nijhof
7adb8d5ddc
Code styling tweaks to core utils & YAML loader (#85433)
Code styling tweaks to core utils
2023-01-08 22:01:55 -08:00
Marc Mueller
fabd73f08b
Update typing 03 (#48015) 2021-03-17 21:46:07 +01:00
Paulus Schoutsen
32aae7017e
Remove requirement from entity integration (#30113) 2019-12-22 10:32:42 +01:00