view mrjunejune/src/public/test.sh @ 261:b401627fc49e

Add JRPG mock flows and interactive previews Add scripted mock SSE commands, custom event forwarding, animated chat turns, full-height message navigation, and a cyberpunk resume dossier. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Wed, 05 Aug 2026 20:38:32 -0700
parents 19cccf6e866a
children
line wrap: on
line source

i=1; for f in *; do \
    # Create the original resolution version
    ffmpeg -i "$f" -vcodec libwebp -q:v 75 "webp/${i}_original.webp"; \
    # Create the 400x400 version (maintaining aspect ratio)
    ffmpeg -i "$f" -vcodec libwebp -vf "scale=400:400:force_original_aspect_ratio=decrease,pad=400:400:(ow-iw)/2:(oh-ih)/2:color=black" -q:v 75 "webp/${i}.webp"; \
    i=$((i+1)); \
done