Created
December 28, 2014 01:31
-
-
Save JPLeBreton/12daa319aace463b3937 to your computer and use it in GitHub Desktop.
Shell script to run Retrofilter on an image, in Linux using Wine
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
cp "$1" /tmp | |
infilewithext=`basename "$1"` | |
infile=`basename "$1" | cut -d\. -f1` | |
convert /tmp/$infilewithext -type TrueColor /tmp/$infile.tga | |
wine ~/wine_c/retrofilter/Retrofilter.exe /tmp/$infile.tga | |
convert /tmp/$infile.crt.tga $infile-crt.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment