swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Internal error: badly balanced softmasks/transpare


From: imuserpol
Subject: Re: [Swftools-common] Internal error: badly balanced softmasks/transparency groups
Date: Mon, 17 Dec 2012 09:59:18 -0500

Hello Jakob,

Your best bet is probably going to be to optimize the PDF before the PDF2SWF
conversion.  If possible try to save the PDF as a version 1.3 PDF (aka
Acrobat 4.0) This will automatically flatten the PDF's transparent and other
complex graphics giving a simpler file for PDF2SWF to work with.

If you do not have access to the original file (Indesign, Illustrator, Word,
etc.) then if you have Acrobat Pro you can use the Save As>Optimized PDF
function to re-bake the PDF.  You can also save the PDF to a postscript file
(ps) and then back to PDF which will give the same flattening effect.

If you have already tried the poly2bitmap/bitmap options without any luck,
then modifying the PDF beforehand is probably the best solution.

Good Luck.

JL



-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Jakob Hohlfeld
Sent: Monday, December 17, 2012 7:55 AM
To: address@hidden
Subject: [Swftools-common] Internal error: badly balanced
softmasks/transparency groups

Hi to all,

I am using swftools-0.9.2 on an Ubuntu 12-04 machine. I want to convert a
PDF to SWF. The PDF document is rich in graphics, transparancies and general
design. I  don't know much about how the PDF was created, but running
pdf2swf gives me this error:

> $ pdf2swf InputFile.pdf -o OutputFile.swf
> FATAL: Internal error: badly balanced softmasks/transparency groups

I searched the web and found a workaround: render graphics as bitmaps

$ pdf2swf -s poly2bitmap InputFile.pdf -o OutputFile.swf

Though this runs smoothly, the result is an SWF document that is missing
some graphics at all. Distinguishing from the contents of the original
document, there might be an alpha mask involved in the breaking of the
transformation, as it was tried in the first place.

Could anyone give a hint about what to do about the softmasks/transparency
error - at least beyond completely opting-out of vector graphics?

Thanks for your advice
Jakob

--

Jakob Hohlfeld
IT-Consultant / Software Engineer

PRODYNA AG
Heinrich-Nordhof-Stra├če 101
38440 Wolfsburg

Telefon +49 5361 463256-0
Telefax +49 69 78 70 34-11
Mobil +49 171 867 69 07
address@hidden
www.prodyna.com

---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend
an existing subscription, please kindly point your favourite web browser
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>




reply via email to

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