[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] splitting spreads in pdf automatically

From: Chris Pugh
Subject: Re: [Swftools-common] splitting spreads in pdf automatically
Date: Sat, 24 Apr 2010 19:54:51 +0100

Too many if's there. You only need one..

If the program which produced PDF actually stores information about a spread
in relation to whatever page size is defined, inside the PDF,  then
fine. no reason
at all why pdf2swf couldn't split it.

Unfortunately, I'm not as yet sure that it does do that.  Remember,
pdf2swf is only
as good  as the data it reads from the PDF file.   No information
about a spread,
no way it'll work properly/.  That would be especially true if the
individual pages are
all different sizes and layouts.



On 24 April 2010 17:55, Mark Lee <address@hidden> wrote:
> If a "spread" is made by aligning two pages, it sounds theoretically
> possible that pdf2swf should recognize the separate pages. If a spread is
> made by "splitting" one page, it remains one page, eg if a letter size page
> is laid out in landscape as two 4.25 x 5.5 pages the page is 8.5x11(ins).
> ________________________________
> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]