File: jpeg

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 (14 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $ApsCVS: src/apsfilter/driver/jpeg,v 1.1 2001/11/17 15:21:54 andreas Exp $

case "$QUALITY" in
	draft)	GS_FEATURES="$GS_FEATURES -dJPEGQ=50" ;;
	low)	GS_FEATURES="$GS_FEATURES -dJPEGQ=65" ;;
	medium)	GS_FEATURES="$GS_FEATURES -dJPEGQ=75" ;;
	high)	GS_FEATURES="$GS_FEATURES -dJPEGQ=85" ;;
	photo)	GS_FEATURES="$GS_FEATURES -dJPEGQ=100" ;;
esac

case "$COLOR" in
	full)	PRINTER=jpeg ;;
	*)	PRINTER=jpeggray ;;
esac