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
#These are the steps required in order to Install ImageMagick with JPG, PNG and TIFF delegates. | |
sudo apt-get update | |
#Install Build-Essential in order to configure and make the final Install | |
sudo apt-get install build-essential | |
#libjpg62-dev required in order to work with basic JPG files |
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 | |
#Make sure to replace "YOURPATH" with your logo/graphic overlay path, on line 5. | |
for f in *.png *.jpg | |
do magick $f -set option:sz "%[fx:min(w,h)*20/100]" \ | |
\( YOURPATH -resize "%[sz]" \) \ | |
-alpha on -channel rgba -gravity northeast \ | |
-define compose:args=50,100 -composite $f | |
done |
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 | |
#This script creates a new folder named "processed" in the working directory, | |
#then finds every file with .WAV extension and convert it to FLAC (Free Lossless Audio Codec). | |
#It also copy the metadata informations associated with the input (where they exists) to the output. | |
mkdir processed | |
for i in *.wav | |
do ffmpeg -i "$i" -nostdin -map_metadata:s:a 0:s:a -c:a flac "./processed/${i%.*}.flac" | |
done |
NewerOlder