aboutsummaryrefslogtreecommitdiffstats
path: root/fbgs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-03 12:51:59 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-11-03 12:51:59 +0100
commite5ce55c474f9af03862fcdef696f68d2addd39ae (patch)
treeb482eabccaebfc915df4d05c704375b30ee65c75 /fbgs
parent23c8b7ec69c2add760a186ec2c1602b3e4662197 (diff)
downloadfbida-e5ce55c474f9af03862fcdef696f68d2addd39ae.tar.gz
small fbgs tweaks
Diffstat (limited to 'fbgs')
-rwxr-xr-xfbgs9
1 files changed, 7 insertions, 2 deletions
diff --git a/fbgs b/fbgs
index e270041..3b996b5 100755
--- a/fbgs
+++ b/fbgs
@@ -15,7 +15,7 @@ trap "rm -rf $DIR" EXIT
fbiopts=""
gsopts=""
passwd=""
-device="tiffpack"
+device="png16m"
opt=1
bell="off"
helptext="
@@ -29,7 +29,7 @@ usage: fbgs [fbgs options] [fbi options] file
-p --password <arg> a <password> passed to the PDF
-fp --firstpage <arg> begins on the <arg> page
-lp --lastpage <arg> stops on the <arg> page
- -c --color pages in color
+ -c --(no)color pages in color
-l pages rendered with 100 dpi
-xl pages rendered with 120 dpi
-xxl pages rendered with 150 dpi
@@ -65,6 +65,10 @@ while test "$opt" = "1"; do
device="png16m"
shift
;;
+ --nocolor)
+ device="tiffpack"
+ shift
+ ;;
-l) gsopts="$gsopts -r100x100"
shift
;;
@@ -83,6 +87,7 @@ while test "$opt" = "1"; do
--autoup | --noautoup | \
--autodown | --noautodown | \
--fitwidth | --nofitwidth | \
+ --readahead | --noreadahead | \
-v | --verbose | --noverbose | \
-u | --random | --norandom | \
-1 | --once | --noonce)