File: cdj670

package info (click to toggle)
apsfilter 7.2.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,544 kB
  • ctags: 61
  • sloc: sh: 457; ansic: 236; perl: 175; makefile: 157
file content (22 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $ApsCVS: src/apsfilter/driver/cdj670,v 1.1.2.1 2002/03/03 20:21:15 andreas Exp $

case "$QUALITY" in
	draft)	RESOLUTION="150x150"
		GS_FEATURES="$GS_FEATURES -dQuality=-1" ;;
	low)	RESOLUTION="150x150"
		GS_FEATURES="$GS_FEATURES -dQuality=0" ;;
	medium)	RESOLUTION="300x300"
		GS_FEATURES="$GS_FEATURES -dQuality=0" ;;
	high)	RESOLUTION="600x600"
		GS_FEATURES="$GS_FEATURES -dQuality=0" ;;
	photo)	RESOLUTION="600x600"
		GS_FEATURES="$GS_FEATURES -dQuality=1" ;;
esac

case "$MEDIA" in
	coated)		GS_FEATURES="$GS_FEATURES -dPapertype=1" ;;
	premium)	GS_FEATURES="$GS_FEATURES -dPapertype=2" ;;
	glossy)		GS_FEATURES="$GS_FEATURES -dPapertype=3" ;;
	trans)		GS_FEATURES="$GS_FEATURES -dPapertype=4" ;;
	plain)		GS_FEATURES="$GS_FEATURES -dPapertype=0" ;;
esac