swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Bad size with cropped PDF in pdf2swf


From: Matthias Kramm
Subject: Re: [Swftools-common] Bad size with cropped PDF in pdf2swf
Date: Sat, 26 Feb 2005 21:57:19 +0100
User-agent: Mutt/1.5.6i

Hi Philippe Maurer

On Thu, Feb 24, 2005 at 08:34:25AM +0100, Philippe Maurer wrote:
> The files are online again (sorry about that).

Ok, swfdump reports as size of the SWF:

[HEADER]        Movie width: 585.00 (left offset: 54.00)
[HEADER]        Movie height: 783.00 (top offset: 54.00)

which are the expected values.

What your loaders seems to report is the "real" size, i.e., the
box which encompasses all objects, which you can calculate e.g.
with swfbbox:
    $ swfbbox page.swf
    Real Movie Size: 694.45 x 892.45 :-0.70 :-0.70
.
You'll probably have to pass the movie size to your loader using
some other means (xml or something).

Greetings

Matthias






reply via email to

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