swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] pdf2swf Development snapshot crash.


From: Pete Siviter
Subject: Re: [Swftools-common] pdf2swf Development snapshot crash.
Date: Thu, 08 Nov 2007 12:36:37 +0000
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Thanks for the suggestion Pedro,

I finally tracked the problem down to Drop shadows from Adobe InDesign causing thick black borders on rendering (in ImageMagick as well as PDF2SWF).

I now have a workaround that I thought I'd share because I suspect it may help other people with other problems.

What I did was re-print the pdf from FoxIt PDF Reader (or probably Acrobat Reader) using the PDFCreator print driver from pdfforge.org.  Which is free and Open Source.

This produces another pdf that doesn't appear to use transparency groups and also renders text differently.  Essentially rewriting an entirely different PDF that looks like the original but which may not have the conversion problems the original has.

I couldn't work out how to make it work in a bulk fashion, but I did manage to set AutoSave and Page Size in PDFCreator and Printing Preferences default page size in the print driver so that a single right-click/print on each pdf file produced a converted PDF that worked with PDF2SWF.  This is enough for my needs.

I tried the same technique with the fraction PDF but no success I'm afraid, but maybe it'll help with the rotated text problem?  Haven't had time to try I'm afraid.

This doesn't fix the crashing problem (for which I can still supply PDFs), but it works around it and these converted pdfs convert fine with both the stable and development versions.

Regards,
Pete Siviter


Pedro Pablo Fuentes Schuster wrote:
try converting to png i have the same problem with jpg

On 10/29/07, Pete Siviter <address@hidden> wrote:
  
Hi there,

I am trying to convert some pdfs as a batch process to swfs and am
having great success with pdf2swf which I am loving.

However, I was having transparency issues on jpegs as discussed
previously on this list - where the backgrounds of images appear black.
I think the same issue that Tim Nguyen was experiencing and someone else
posted a test pdf about the issue.

To try and fix this I downloaded last weeks (and now this weeks)
development build and this seems to work correctly with the test.pdf and
I suspect it'll work with my pdfs also, but the conversion of my pdfs
crashes with the development builds.  I've attached the verbose output
of a sample conversion and it seems to crash at about the time the
program tells me that there are transparency groups.

I've tried various different options (setting version 8 etc), nothing
resolves the problem and I have hundreds of different pdfs displaying
this issue!

I can provide some pdfs that causes the crash if that's of use?

Not sure how relevant, but its on Windows XP dual core with 2GB ram.
The pdfs convert ok with the stable build but with the images having a
black border which overlaps the text.

Regards,
Pete

Verbose output follows: -
VERBOSE Generating info structure for page 1

VERBOSE initializing swf output

VERBOSE Starting new SWF page of size 514x727

VERBOSE Render (514,727) move:0/0

VERBOSE Using user clip box 0.000000/0.000000/514.000000/727.000000

NOTICE processing PDF page 1 (514x727:0:0) (move:0:0)

VERBOSE beginTransparencyGroup 42.3/672.3/472.9/261.9 DeviceCMYK
isolated=0 knockout=0 forsoftmask=1

VERBOSE drawImage 1196x1140, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:1 bits:8 mode:0

NOTICE file contains jpeg pictures

VERBOSE endTransparencyGroup

VERBOSE setSoftMask 42.3/672.3/472.9/261.9 alpha=0 backdrop=ffffff

NOTICE File contains soft masks

NOTICE File contains forms

VERBOSE beginTransparencyGroup 44.1/670.5/474.7/260.1 DeviceCMYK
isolated=0 knockout=0 forsoftmask=0

VERBOSE endTransparencyGroup

VERBOSE paintTransparencyGroup blend=normal softmaskon=1

NOTICE File contains transparency groups

VERBOSE clearSoftMask

VERBOSE Drawing 474x467 semi-transparent image (id 5) at size 474x467
(474x467), 170 colors

VERBOSE drawImage 1745x1661, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:4 bits:8 mode:4

VERBOSE Drawing 1745x1661 jpeg-image (id 9) at size 1745x1661 (418x398),
 >256 colors

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE beginTransparencyGroup 256.6/104.5/473.0/42.2 DeviceCMYK
isolated=0 knockout=0 forsoftmask=1

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE drawImage 601x173, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:1 bits:8 mode:0

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE endTransparencyGroup

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE setSoftMask 256.6/104.5/473.0/42.2 alpha=0 backdrop=ffffff

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE beginTransparencyGroup 258.4/102.7/474.8/40.4 DeviceCMYK
isolated=0 knockout=0 forsoftmask=0

VERBOSE endTransparencyGroup

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE paintTransparencyGroup blend=normal softmaskon=1

VERBOSE clearSoftMask

VERBOSE Drawing 474x686 semi-transparent image (id 15) at size 474x686
(474x686), 158 colors

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE beginTransparencyGroup 262.1/97.8/466.1/47.8 DeviceGray
isolated=0 knockout=0 forsoftmask=1

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE drawImage 828x204, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:1 bits:8 mode:0

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE endTransparencyGroup

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE setSoftMask 262.1/97.8/466.1/47.8 alpha=0 backdrop=000000

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE beginTransparencyGroup 262.1/97.8/466.1/47.8 isolated=0
knockout=0 forsoftmask=0

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE drawImage 828x204, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:4 bits:8 mode:4

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE beginTransparencyGroup 261.7/99.2/467.3/47.7 DeviceCMYK
isolated=0 knockout=0 forsoftmask=1

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE drawImage 571x143, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:1 bits:8 mode:0

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE endTransparencyGroup

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE setSoftMask 261.7/99.2/467.3/47.7 alpha=0 backdrop=ffffff

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE beginTransparencyGroup 261.7/99.2/467.3/47.7 DeviceCMYK
isolated=0 knockout=0 forsoftmask=1

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE drawImage 571x143, colorMap, no maskColors, inline=0

VERBOSE colorMap pixcomps:1 bits:8 mode:0

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE endTransparencyGroup

VERBOSE Updating font to YRKEIF+IsonormD-9-0

VERBOSE =========== IsonormD (ID:9,0) ==========

VERBOSE | Tag: YRKEIF+IsonormD-9-0

VERBOSE | is CID font

VERBOSE | Type: CIDType0C

VERBOSE | Embedded id: YRKEIF+IsonormD id: 63

VERBOSE | is symbolic

VERBOSE setSoftMask 261.7/99.2/467.3/47.7 alpha=0 backdrop=ffffff

VERBOSE endTransparencyGroup

VERBOSE clearSoftMask




    


  

reply via email to

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