Add logo
This commit is contained in:
parent
16f4a9c871
commit
81bde12357
3 changed files with 19 additions and 1 deletions
20
flake.nix
20
flake.nix
|
@ -31,11 +31,29 @@
|
|||
libavif-svt
|
||||
];
|
||||
} ''
|
||||
magick "$src" -resize 50% resize.png
|
||||
magick $src -resize 50% resize.png
|
||||
avifenc -q 80 --speed 0 --codec svt --depth 8 --yuv 420 -a tune=2 \
|
||||
-a enable-variance-boost=1 -a variance-boost-strength=3 -a enable-overlays=1 \
|
||||
-a enable-qm=1 -a qm-min=0 -a enable-tf=1 resize.png $out
|
||||
'';
|
||||
logo = pkgs.runCommand "florp_logo.avif" {
|
||||
src = ./media/florp_logo.png;
|
||||
nativeBuildInputs = with pkgs; [
|
||||
libavif-svt
|
||||
];
|
||||
} ''
|
||||
avifenc -q 80 --speed 0 --codec svt --depth 8 --yuv 420 -a tune=2 \
|
||||
-a enable-variance-boost=1 -a variance-boost-strength=3 -a enable-overlays=1 \
|
||||
-a enable-qm=1 -a qm-min=0 -a enable-tf=1 $src $out
|
||||
'';
|
||||
favicon = pkgs.runCommand "favicon.png" {
|
||||
src = ./media/florp_logo.png;
|
||||
nativeBuildInputs = with pkgs; [
|
||||
imagemagick
|
||||
];
|
||||
} ''
|
||||
magick $src -resize 96x96 $out
|
||||
'';
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
BIN
media/florp_logo.kra
Normal file
BIN
media/florp_logo.kra
Normal file
Binary file not shown.
BIN
media/florp_logo.png
Normal file
BIN
media/florp_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
Loading…
Reference in a new issue