File: smartblend

package info (click to toggle)
hugin 2024.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,568 kB
  • sloc: cpp: 127,783; ansic: 6,263; python: 1,156; perl: 701; xml: 150; sh: 64; makefile: 29
file content (21 lines) | stat: -rwxr-xr-x 603 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#

# Change this to point to your smartblend.exe
SMARTBLENDEXE="/home/bbb/bin/smartblend_1_2_5/smartblend.exe"

# Do not change this
SMARTBLEND=${SMARTBLEND-$SMARTBLENDEXE}
SMARTBLENDARGS=`echo $* \
| sed -re "s/--compression NONE ?//" \
 -e "s/--compression PACKBITS ?//" \
 -e "s/--compression LZW ?//" \
 -e "s/--compression DEFLATE ?//" \
 -e "s/--compression [0-9]+ ?//" \
 -e "s/--gpu ?//" \
 -e "s/-f *[0-9]+x[0-9]+\+?[0-9]*\+?[0-9]* //" \
 -e "s/-l *[0-9]+ //" \
 -e "s/-m [0-9]+ //"`
echo -e "\nExecuting smartblend.exe $SMARTBLENDARGS\n"
wine "$SMARTBLEND" $SMARTBLENDARGS
exit $?