On Tue, Feb 16, 2010 at 08:07:14PM -0500, [email protected] <[email protected]>
wrote:
> I am running all of the conversions with a -G (flatten) param.
>
> 1. Some pdf's do not convert. If I run them manually I get the error
> message "This file is too complex to render - SWF only supports 65536
> shapes at once". The message is obvious - what suggestions can I give to
> users so this does not happen?
I'd fallback to rendering the file with poly2bitmap in these cases,
as other users have suggested.
> 2. Some of the converted files do not load into the flex application.
> When I try to open them independently in a browser like chrome the plugin
> will consume over 50% cpu utilization and I get a message that the plugin
> is not responsive. Any ideas on what can cause this or how to
> troubleshoot.
>
> 3. Some pdf's will convert to swf files that are MUCH larger than the
> original file. The majority of the time the swf is smaller. What will
> cause the swf file to convert so large.
Try downscaling images. That usually helps:
pdf2swf -s subpixels=1 file.pdf -o file.swf
Matthias