From e5ce55c474f9af03862fcdef696f68d2addd39ae Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 3 Nov 2014 12:51:59 +0100 Subject: small fbgs tweaks --- fbgs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fbgs') 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 a passed to the PDF -fp --firstpage begins on the page -lp --lastpage stops on the 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) -- cgit