swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] PDF2SWF PBM Pictures Problem


From: GuoHui
Subject: [Swftools-common] PDF2SWF PBM Pictures Problem
Date: Tue, 7 Sep 2010 10:56:41 +0800 (CST)

Hello,
After I upgrade my PDF2SWF to 0.9.1, I have found a strange problem:some pdfs contain pbm pictures cannot be converted normally by PDF2SWF, however, 0.8.1 works well. In 0.9.1 & Development Snapshot 20100814, the page turned out blank page and the filesize is only 1KB. Attach file is a sample PDF, and the pbm file it contains(Extracted by Xpdf version 3.02).
(If it cannot be download, see it at http://www.ltgx.org/files.zip).
 By the way, for we benifit a lot from swftools, We would like to make a donation or offer mirror download sites for SWFTOOLS.
VERBOSE OUTPUT UNDER SWFTOOLS 0.8.1:
C:\swftools>pdf2swf d:\1\sample.pdf -o d:\1\2\a.swf -v
VERBOSE setting parameter fontdir to "C:\SWFTools\fonts"
NOTICE  Adding C:\SWFTools\fonts to font directories
VERBOSE Adding font "C:\SWFTools\fonts\d050000l.pfb".
...
Producer:     FreePic2Pdf - 2.04
CreationDate: 20100906210046+08'00'
ModDate:      20100906210046+08'00'
Pages:        1
Linearized:   no
Encrypted:    no
VERBOSE Generating info structure for page 1
VERBOSE initializing swf output
VERBOSE Starting new SWF page of size 2256x3216
VERBOSE Render (2256,3216) move:0/0
VERBOSE Using user clip box 0.000000/0.000000/2256.000000/3216.000000
NOTICE  processing PDF page 1 (2256x3216:0:0) (move:0:0)
VERBOSE drawImage 3008x4288, colorMap, no maskColors, inline=0
VERBOSE colorMap pixcomps:1 bits:1 mode:0
NOTICE  file contains pbm pictures
VERBOSE Drawing 3008x4288 image (id 3) at size 3008x4288 (2256x3216), 2 colors(Normally:2 colors)
NOTICE  SWF written
 
VERBOSE OUTPUT UNDER SWFTOOLS 0.9.1:
c:\swftools>"D:\Program files\swftools\pdf2swf" d:\1\sample.pdf -o d:\1\2\a.swf
-v
VERBOSE Generating info structure for page 1
VERBOSE initializing swf output
VERBOSE Starting new SWF page of size 2256x3216
VERBOSE Render (2256,3216) move:0/0
VERBOSE Using user clip box 0.000000/0.000000/2256.000000/3216.000000
NOTICE  processing PDF page 1 (2256x3216:0:0) (move:0:0)
VERBOSE drawImage 3008x4288, colorMap, no maskColors, inline=0
VERBOSE colorMap pixcomps:1 bits:1 mode:0
NOTICE  File contains pbm pictures
VERBOSE Drawing 3008x4288 image (id 3) at size 3008x4288 (2256x3216), 1 colors (// It should be '2 colors').
VERBOSE endPage (GfxOutputDev)
NOTICE  Writing SWF file d:\1\2\a.swf
VERBOSE Performing cleanups
 
 
Thanks a lot
GuoHui



您想拥有和网易免费邮箱一样强大的软件吗?

Attachment: sample.pdf
Description: Adobe PDF document


reply via email to

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