summaryrefslogtreecommitdiff
path: root/support/pstools/cep/cep.bat
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/pstools/cep/cep.bat
Initial commit
Diffstat (limited to 'support/pstools/cep/cep.bat')
-rw-r--r--support/pstools/cep/cep.bat48
1 files changed, 48 insertions, 0 deletions
diff --git a/support/pstools/cep/cep.bat b/support/pstools/cep/cep.bat
new file mode 100644
index 0000000000..00b55cea08
--- /dev/null
+++ b/support/pstools/cep/cep.bat
@@ -0,0 +1,48 @@
+:: This file belongs to the CEP package | Ten plik nale/zy do pakietu CEP
+:: This package is public domain | Pakiet stanowi dobro powszechne
+:: For more info see `0CEP_LIC.ENG' | Wi/ecej informacji w ,,0CEP_LIC.POL''
+:: ===========================================================================
+:: E: Bitmap EPS file compression program
+:: This program compresses and codes, using standard methods of
+:: Postscript Level 2, bitmap EPS files (hexadecimal, not compressed).
+::
+:: P: Program do kompresji EPS-/ow bitmapowych.
+:: S/lu/zy on do pakowania oraz kodowania bitmapowych, kodowanych
+:: szesnastkowo, niekompresowanych plik/ow EPS za pomoc/a
+:: standardowych algorytm/ow Postscriptu Level 2.
+::
+@echo off
+if "%2"=="" goto USAGE
+if "%1"=="%2" goto USAGE
+if not exist %1 goto USAGE
+gawk32 -fcep.awk -vTMPSX=tmp.psx -vOUTF=%2 -vCVM=%3%4 %1
+if errorlevel==1 goto DONE
+SET DOS4G=quiet
+if exist tmp.psx call gs386.exe -q -dNODISPLAY tmp.psx
+if exist tmp.psx del tmp.psx
+echo .
+goto DONE
+::
+:USAGE
+echo E: USAGE:
+echo cep input_file output_file [options]
+echo the program recognizes the following options:
+echo 8 -- use ASCII85 coding (default)
+echo h or H -- use HEX (hexadecimal) coding
+echo r or R -- use RLE (RunLength) compression (default)
+echo l or L -- use LZW compression
+echo f or F -- use Flate compression (non-standard!)
+echo n or N -- don't compress
+echo (names of input_file and output_file must differ)
+echo.
+echo P: WYWO/LANIE:
+echo cep plik_wej/sciowy plik_wyj/sciowy [opcje]
+echo program rozpoznaje nast/epuj/ace opcje:
+echo 8 -- kodowanie ASCII85 (domy/slnie)
+echo h lub H -- kodowanie HEX -- szesnastkowe
+echo r lub R -- kompresja RLE -- RunLength (domy/slnie)
+echo l lub L -- kompresja LZW
+echo f lub F -- kompresja Flate (niestandardowa!)
+echo n lub N -- bez kompresji
+echo (nazwa pliku wyj/sciowego musi by/c r/o/zna od nazwy pliku wej/sciowego)
+:DONE