diff options
Diffstat (limited to 'poezio/windows/image.py')
-rw-r--r-- | poezio/windows/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/image.py b/poezio/windows/image.py index 96636ec7..dfd2eae2 100644 --- a/poezio/windows/image.py +++ b/poezio/windows/image.py @@ -52,7 +52,7 @@ def render_svg(svg: bytes) -> Optional[Image.Image]: handle.render_cairo(context) data = surface.get_data() image = Image.frombytes('RGBA', (MAX_SIZE, MAX_SIZE), data.tobytes()) - # This is required because Cairo uses a BGRA (in host endianess) + # This is required because Cairo uses a BGRA (in host endianness) # format, and PIL an ABGR (in byte order) format. Yes, this is # confusing. b, g, r, a = image.split() |