Last active
July 8, 2024 17:15
-
-
Save dewomser/7965524db9de6c9096dfb69a4d926069 to your computer and use it in GitHub Desktop.
3 randomatisierte Pixel-jpgs werden zu einem Endlos-Gif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in {1..5}; do | |
mx=480;my=320;head -c "$((3*mx*my))" /dev/urandom | magick -depth 8 -size "${mx}x${my}" RGB:- random$i.jpg | |
done | |
magick -delay 20 -loop 0 random[1-5].jpg myimage.gif |
Author
dewomser
commented
Feb 27, 2023
initial
convert ersetzt durch magick
das * durch random[1-5] ersetzt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment