Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77611

Re: Anyway to reduce size of pdf using python script.

X-Received by 10.42.58.138 with SMTP id i10mr8256104ich.18.1409945794538; Fri, 05 Sep 2014 12:36:34 -0700 (PDT)
X-Received by 10.140.37.39 with SMTP id q36mr70525qgq.10.1409945794408; Fri, 05 Sep 2014 12:36:34 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r2no15115375igi.0!news-out.google.com!q8ni6qal.1!nntp.google.com!dc16no1471861qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Fri, 5 Sep 2014 12:36:34 -0700 (PDT)
In-Reply-To <a672024e-2df2-4c88-b6c9-e37fedbf0756@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=149.173.1.34; posting-account=N0LDbQoAAADbFrhcL4Vyvhxzh6UNKi_p
NNTP-Posting-Host 149.173.1.34
References <a672024e-2df2-4c88-b6c9-e37fedbf0756@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <93a9cc4e-6e80-43dc-bf40-61d2995c18ae@googlegroups.com> (permalink)
Subject Re: Anyway to reduce size of pdf using python script.
From Tim <jtim.arnold@gmail.com>
Injection-Date Fri, 05 Sep 2014 19:36:34 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:77611

Show key headers only | View raw


On Friday, February 1, 2013 8:03:41 PM UTC-5, access...@gmail.com wrote:
> I have a batch file that exports ArcGIS pdf maps to a directory. I would like to include a step in the script where the pdf file is reduced in size instead of manually opening each file in Acrobat X Pro after the script has run and doing it there.
> 
> Can this be done using python scripting or does the automation stop at exporting the map?
> 
> Thanks

I don't have a definitive answer but I use qpdf to optimize my pdf files. Whether that reduces the size I'm not sure. http://qpdf.sourceforge.net/

--Tim

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Anyway to reduce size of pdf using python script. Tim <jtim.arnold@gmail.com> - 2014-09-05 12:36 -0700

csiph-web