summaryrefslogtreecommitdiffstats
path: root/Lib/irix5/torgb.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-06-23 09:30:50 (GMT)
committerGuido van Rossum <guido@python.org>1993-06-23 09:30:50 (GMT)
commit5cfa5dfe977854a090e70cb4f4353e2e6b46789e (patch)
tree2283617688b901adf8dbf07933f2dfe1f1c6c481 /Lib/irix5/torgb.py
parent9b3bc715980b51ffbf535bcf159ba4be03938c19 (diff)
downloadcpython-5cfa5dfe977854a090e70cb4f4353e2e6b46789e.zip
cpython-5cfa5dfe977854a090e70cb4f4353e2e6b46789e.tar.gz
cpython-5cfa5dfe977854a090e70cb4f4353e2e6b46789e.tar.bz2
* calendar.py: all libC functionality now moved to built-in time module
* imghdr.py: added jpeg recognition * torgb.py: added jpeg conversion * tzparse.py: use functions from time instead of calendar * whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
Diffstat (limited to 'Lib/irix5/torgb.py')
-rwxr-xr-xLib/irix5/torgb.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/irix5/torgb.py b/Lib/irix5/torgb.py
index e46aca3..2e340d1 100755
--- a/Lib/irix5/torgb.py
+++ b/Lib/irix5/torgb.py
@@ -40,6 +40,12 @@ t.append('pnmtoppm', '--')
t.append('fromppm $IN $OUT', 'ff')
table['rast'] = t
+t = pipes.Template().init()
+t.append('djpeg', '--')
+t.append('pnmtoppm', '--')
+t.append('fromppm $IN $OUT', 'ff')
+table['jpeg'] = t
+
uncompress = pipes.Template().init()
uncompress.append('uncompress', '--')