I had a pretty pleasant experience with the flatten option too, all the pdf's worked for me except the one I reported earlier that went into an infitie loop. Do you mind sharing the ones that're not working for you?
For converting pdf to images, you can try ImageMagick. It's under gpl license and works great for me. They have a very responsive forum too.
----- Original Message ----
From: John Bauer <address@hidden>
To: address@hidden
Sent: Thursday, May 17, 2007 2:05:12 PM
Subject: RE: [Swftools-common] SWF files scaled incorrectly
Greetings all, I would like to share with you all how I solved the
majority of the swf size problems I had. I still get one or two out of
50 in a PDF that have weirdness, maybe I can narrow down why those are
still funky and track down how to fix it... without further ado:
Here are the steps I use:
pdftk in.pdf output out.pdf flatten
pdftk out.pdf burst
Then I loop through the bursted pdf's and do these two steps:
{
pdf2swf.exe --flatten --flashversion=8 -s zoom=100 -z $file
I know the --flatten is redundant as I'm doing it with pdftk,
but it works, maybe each works slightly different.
swfbbox.exe -O -c $file -o $file
}
Give it a try and let me know how it works.
**If anyone could give me some insight on how to convert PDF's to jpgs
via unix command line I would appreciate
it!
thanks,
John
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Matthias Kramm
Sent: Thursday, May 17, 2007 2:18 PM
To: address@hidden
Subject: Re: [Swftools-common] SWF files scaled incorrectly
On Thu, May 10, 2007 at 03:43:33PM -0600, Jake Hilton wrote:
> If I run that on a swf that was exported from openoffice it fails.
Granted
> swf's coming from openoffice are far from perfect.
Yes, this will of course only work for SWFs generated by pdf2swf.
OpenOffice's SWFs are... different.
Greetings
Matthias