[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Internal error: badly balanced softmasks/transpare
Re: [Swftools-common] Internal error: badly balanced softmasks/transparency groups
Mon, 17 Dec 2012 09:59:18 -0500
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.
Behalf Of Jakob Hohlfeld
Sent: Monday, December 17, 2012 7:55 AM
Subject: [Swftools-common] Internal error: badly balanced
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
IT-Consultant / Software Engineer
Telefon +49 5361 463256-0
Telefax +49 69 78 70 34-11
Mobil +49 171 867 69 07
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend
an existing subscription, please kindly point your favourite web browser