utils/compress_images.py
author rgbecker
Wed, 25 Oct 2000 08:57:46 +0000
changeset 494 54257447cfe9
parent 35 4d48027ac528
permissions -rw-r--r--
Changed to indirect copyright
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
     1
#!/usr/bin/env python
494
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 35
diff changeset
     2
#copyright ReportLab Inc. 2000
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 35
diff changeset
     3
#see license.txt for license details
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 35
diff changeset
     4
#history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/utils/compress_images.py?cvsroot=reportlab
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 35
diff changeset
     5
#$Header: /tmp/reportlab/utils/compress_images.py,v 1.2 2000/10/25 08:57:46 rgbecker Exp $
35
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
     6
import sitecustomize
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
     7
import sys
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
     8
from reportlab.pdfbase.pdfutils import preProcessImages
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
     9
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
    10
for spec in sys.argv[1:]:
4d48027ac528 Initial version of utility to compress file images
rgbecker
parents:
diff changeset
    11
	preProcessImages(spec)