mirror of
https://github.com/itsRevela/Revelations-Launcher.git
synced 2026-07-03 07:47:01 +00:00
Tall custom title images previously pushed the rest of the UI off-screen because the element rendered unbounded by height. Two-layer cap: - Rust: decode picked file with the image crate, resize to max 622px height via Lanczos3 when taller (aspect preserved), re-encode as PNG. Also fixes the pre-existing mismatch where non-PNG bytes were saved under title_image.png and served with a data:image/png prefix. - Frontend: inline maxHeight:140/maxHeight:60vh on the main and intro logo motion.img so layout animation styles don't override the cap.