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


Groups > comp.lang.python > #103286

Re: PyPDF2 merge / out of memory

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Newsgroups comp.lang.python
Subject Re: PyPDF2 merge / out of memory
Date Sun, 21 Feb 2016 11:11:51 +0000
Lines 45
Message-ID <mailman.4.1456053153.20994.python-list@python.org> (permalink)
References <ace35b94-9e4a-4cab-b71a-ddd4344bae3d@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de QS3AopU6JmBa7FWD5BSlsgryfqU045Ng7kCZnrKlGcQg==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'url:bitbucket': 0.05; 'merging': 0.07; 'pypi': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'throws': 0.09; 'url:github': 0.09; 'generate,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'recipes': 0.16; 'sdk': 0.16; 'subject:merge': 0.16; 'url:issues': 0.16; 'vasudev': 0.16; 'wrote:': 0.16; 'alternate': 0.18; 'library,': 0.18; 'merge': 0.18; 'language': 0.19; 'library': 0.20; 'developer': 0.20; 'lawrence': 0.22; 'code,': 0.23; 'bit': 0.23; 'header:In-Reply- To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'developers': 0.26; 'header:X-Complaints-To:1': 0.26; 'windows,': 0.29; 'convert': 0.29; 'print': 0.30; 'anybody': 0.32; 'language.': 0.32; 'ram': 0.33; 'view,': 0.33; 'file': 0.34; 'formats': 0.35; 'there': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'pdf': 0.37; 'files': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'called': 0.40; 'hello,': 0.40; 'some': 0.40; 'documents': 0.61; 'email addr:gmail.com': 0.62; 'further': 0.62; 'charset:windows-1252': 0.62; 'high-quality': 0.63; 'subject: / ': 0.63; 'our': 0.64; 'articles': 0.67; 'pythonistas,': 0.84; 'url:189': 0.84
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host 80.234.182.166
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <ace35b94-9e4a-4cab-b71a-ddd4344bae3d@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:103286

Show key headers only | View raw


On 21/02/2016 10:41, cpoline95@gmail.com wrote:
> Hello,
>
> There is an issue with PyPDF2 and merging file
> https://github.com/mstamy2/PyPDF2/issues/189
>
> Does anybody know an alternate library to merge PDF and produce optimized pdf file ?
>
> Thanks a lot
>
> Clement
>

I did a bit of searching and found 
http://www.pdftron.com/pdfnet/features.html, which on pypi is described as:-

<quote>
A top notch PDF library for PDF rendering, conversion, content 
extraction, etc

PDFNet SDK is an amazingly comprehensive, high-quality PDF developer 
toolkit for working with PDF files at all levels. Using the PDFNet PDF 
library, developers can create powerful PDF solutions and applications 
that can generate, manipulate, view, render and print PDF documents on 
Windows, Mac, and Linux.
</quote>

There's also https://bitbucket.org/vasudevram/xtopdf which states it's a

<quote>
This package (xtopdf) contains tools to convert various file formats 
(collectively called x) to PDF format.
</quote>

Vasudev Ram I know does a lot of work with PDF so a further search 
throws up articles on using his code, including some recipes on Activestate.

Note I've used none of these myself, I just HTH.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

PyPDF2 merge / out of memory cpoline95@gmail.com - 2016-02-21 02:41 -0800
  Re: PyPDF2 merge / out of memory Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-21 11:11 +0000
  Re: PyPDF2 merge / out of memory cpoline95@gmail.com - 2016-02-22 10:52 -0800

csiph-web