This diff improves the support for setting a custom homescreen on trezor devices:
- The pixels are parsed in the expected order (it used to work by accident)
- The image quality is preserved, no more bleeding color
- The TOIG format is supported, so the Safe 3 device homescreen can be set