Ship a transparent Plymouth watermark
This commit is contained in:
parent
a19391ca01
commit
df592257ad
2 changed files with 9 additions and 2 deletions
|
|
@ -13,5 +13,12 @@ distribution identity. The GNOME/KDE initramfs checks assert that both the custo
|
|||
theme descriptor and its watermark are included.
|
||||
|
||||
The PNG is generated deterministically from `../icons/archipelago.svg` using the
|
||||
pinned build-tools image's ImageMagick `convert` (`-resize 128x128 -background
|
||||
none`). Regenerate it only when the source icon changes and review the output.
|
||||
pinned build-tools image's ImageMagick `convert`:
|
||||
|
||||
```
|
||||
convert -background none -alpha on -density 384 logo.svg -resize 128x128 PNG32:watermark.png
|
||||
```
|
||||
|
||||
`-alpha on`/`PNG32` are required: `-background none` alone produced an RGB image and
|
||||
Plymouth rendered it as a white square. The package adapter and a Rust test both
|
||||
assert PNG colour type 6 (RGBA), so a non-transparent asset fails the build.
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 5.7 KiB |
Loading…
Add table
Reference in a new issue