diff options
author | Nico Huber <nico.h@gmx.de> | 2023-07-16 19:24:13 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-04 20:53:24 +0000 |
commit | 799e79d166395b26dc22733f48a565dd18777e7e (patch) | |
tree | 7dd4de2550d49e0b4c08b50ec50e62e19747d593 /src/lib/timestamp.c | |
parent | 3bcb7619b470959c49b45c822126de91bc7edc04 (diff) |
bootsplash: Add ImageMagick voodoo
The JPEG decoder, that was added many years ago to display a boot-
splash in coreboot, has a few quirks. People used to do some voodoo
with GIMP to convert images to the right format, but we can also
achieve the same with ImageMagick's `convert`. The currently known
constraints are:
* The framebuffer's color format is ignored,
* only YCC 4:2:0 color sampling is supported, and
* width and height have to be a multiple of 16 pixels.
Beside that, we can only display the bootsplash if it completely
fits into the framebuffer. As the latter's size is often decided
at runtime, we can't do much more than offering an option to set
a specific size.
Change-Id: I564e0d89fb46503ff4c11e095726616700009968
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76564
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/lib/timestamp.c')
0 files changed, 0 insertions, 0 deletions