Commit Graph

3 Commits

Author SHA1 Message Date
Florian Bruhin 908abb6566 notifications: Fix image padding assertion
The underlying Chromium pads images so that scanlines align on 4-byte
boundaries. Thus, with an image size of e.g. 239x239, we'll have 3 bytes
of padding (239 mod 4 = 3; 240 mod 4 = 0).

Fixes #6375
2021-04-09 17:14:26 +02:00
Florian Bruhin 9cda31f7f6 notifications: Fix handling of padded images 2021-03-27 15:30:02 +01:00
Florian Bruhin df26a06cb5 notifications: Clearer test images 2021-03-27 15:30:02 +01:00