From: Chris Pugh <address@hidden>
To: Andreas M. Eberharter <address@hidden>
Cc: "address@hidden"
<address@hidden>; Roy <address@hidden>
Sent: Fri, April 23, 2010 11:53:11 PM
Subject: Re: [Swftools-common] splitting spreads in pdf automatically
http://unpaper.berlios.de/and it works on images.
I did not say that it was not possible to split a 'spread', what I
said was that
you have to know that 'spread' *exists* in the first place!
As far as I am aware, a PDF can consist of a set of pages, each of which can
be different in dimensions. Example,
Let's suppose a PDF file consists of four pages: pages 1 and 2 are A4, page
three is A3 ( actually a 'spread' of 2 x A4 as one page ), and page 4 is A4
( actually a 'spread' of 2 x A5 as one page ). What tells Adobe Reader that
page 3 is a 'spread' and
not a full A3 page, and page 4 is a 'spread' and not
a full A4 page? Anything?? Visually it may be obvious, but how does a
Reader/Viewer program *know* that there is one?
If a viewer program can tell the difference, then pdf2swf should be
able to tell.
If it is unable to tell, then how is pdf2swf supposed to know hat there *IS* a
difference?? The tool is only as good as the file that is fed into it!!
Regards,
Chris.
In the example Roy gave, the dump from pdfinfo said there were 4 pages.
Adobe Reader said there were four pages.
On 23 April 2010 22:12, Andreas M. Eberharter <
address@hidden> wrote:
> Hi,
>
> It exists a Linux tool called unpaper (if I remember correctly) which does
> what you want. I used it for double page scans, but didn't get it to work
>
properly.
>
> If you find out some decent command line, I would be happy if you'd share.
>
> Regards, Andreas
>
>
>
> On 22.04.2010, at 20:21, Roy <
address@hidden> wrote:
>
>> Hi, I was wondering if there is a code in pdf2swf that will allow it to
>> detect spreads in the pdf file and automatically split them before
>> converting the pages to swf?
>>
>> thanks in advance for any help
>>
>> Roy
>
>
>