swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Problem converting certain pdfs


From: Tim Harbour
Subject: [Swftools-common] Problem converting certain pdfs
Date: Fri, 13 Jun 2008 21:49:05 +0100

Hi there,
 
I'm using pdf2swf from within php and its been working great up to now, but i'm having trouble converting some pdfs recently.
It works fine for most, but it's like it doesn't get to the end of the file and save out the swf when converting some pdfs.
 
I don't think it's a problem with php memory limits and execution time as far as i can tell...
 
when i do a dump of the returned values i get this:
 
NOTICE Adding /usr/share/swftools/fonts to font directories
Title: Microsoft Word - <<<name of document was here>>>.doc
Author: raghvendrap
Creator: PScript5.dll Version 5.2
Producer: Acrobat Distiller 7.0.5 (Windows)
CreationDate: 20080612124225+01'00'
ModDate: 20080612124247+01'00'
Pages: 33
Linearized: yes
Encrypted: no
NOTICE processing PDF page 1 (826x1169:0:0) (move:0:0)
NOTICE file contains jpeg pictures
NOTICE file contains pbm pictures
NOTICE File contains links
NOTICE processing PDF page 2 (826x1169:0:0) (move:0:0)
NOTICE Some texts will be rendered as shape
NOTICE processing PDF page 3 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 4 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 5 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 6 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 7 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 8 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 9 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 10 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 11 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 12 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 13 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 14 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 15 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 16 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 17 (826x1169:0:0) (move:0:0)
NOTICE processing PDF page 18 (826x1169:0:0) (move:0:0)
 
and thats it... It gets to a different point everytime i run it, sometimes it'll do 16 pages, sometimes 20...
 
there are 33 pages in the pdf - so i can only guess that it's stopping for some reason.. but i don't know what??
 
 
other pdfs convert fine currently and bigger pdfs have converted fine in the past too...
 
any help would be very much appreciated - great project btw. :)
 
many thanks,
 
Tim Harbour

reply via email to

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