Skip to content

Commit 60a4235

Browse files
authored
Optimize adaptive preview GIF (#1)
1 parent 4eeeb08 commit 60a4235

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Assets/GIFs/adaptive-app-shell.gif

-2.32 MB
Loading

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.2
4+
5+
- Recompressed the showcase GIF at the same 400×870 size and 20 fps while reducing preview weight
6+
37
## 1.0.1
48

59
- Re-recorded the showcase at 20 fps with balanced time for every theme

Scripts/record_showcase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ kill -INT "$RECORDING_PID" || true
4242
wait "$RECORDING_PID" || true
4343

4444
ffmpeg -y -i "$RECORDING" \
45-
-filter_complex "fps=20,scale=400:-1:flags=lanczos,split[frames][palette_input];[palette_input]palettegen=max_colors=192:stats_mode=diff[palette];[frames][palette]paletteuse=dither=sierra2_4a:diff_mode=rectangle" \
45+
-filter_complex "fps=20,scale=400:-1:flags=lanczos,split[frames][palette_input];[palette_input]palettegen=max_colors=128:stats_mode=diff[palette];[frames][palette]paletteuse=dither=none:diff_mode=rectangle" \
4646
-loop 0 "$GIF" >/dev/null 2>&1
4747

4848
echo "$GIF"

0 commit comments

Comments
 (0)