vendor/lineage: add rescaled boot animation for volla tablet in portrait mode
Description
vendor/lineage: add rescaled boot animation for volla tablet in portrait mode
The current aspect ratio of our boot animation does not play well with Volla tablet 2560x1600 screen.
We need to re-scale the boot animation such that it is displayed in the original dimensions instead of being squished vertically.
Screenshots
| Before | After |
|---|---|
![]() |
![]() |
Technical details
Script to rescale bootanimation:
#!/bin/bash
set -xeuo pipefail
TARGET_W=1600
TARGET_H=2560
find . -type f -name "*.png" | while read -r img; do
echo "Rescaling: $img"
ffmpeg -y -i "$img" -vf \
"scale=$TARGET_W:$TARGET_H:force_original_aspect_ratio=decrease,pad=$TARGET_W:$TARGET_H:(ow-iw)/2:(oh-ih)/2:black" \
"temp.png"
mv "temp.png" "$img"
done
Tests
- Check if bootanimation is scaled correctly
Issues
https://gitlab.e.foundation/e/devices/backlog/-/issues/1708

